Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Unit tests: Add mock network tests and more thorough tests of Client #31

Open
clement-leprovost opened this issue Feb 26, 2016 · 1 comment
Assignees
Milestone

Comments

@clement-leprovost
Copy link
Contributor

Especially for the Query class.

@clement-leprovost clement-leprovost added this to the v3 milestone Apr 1, 2016
@clement-leprovost clement-leprovost self-assigned this Apr 1, 2016
@clement-leprovost
Copy link
Contributor Author

clement-leprovost commented Apr 6, 2016

Done in the v3 branch:

  • Query class
  • BrowseIterator

Still missing:

  • Mock network tests (to thoroughly test the error handling and retry logic)
  • Client class

Note: testing request cancellation is impossible due to the nature of the unit test framework: asynchronous methods get executed synchronously, so we have no chance to cancel them before they are run.

@PLNech PLNech changed the title Add unit tests Unit tests: Add mock network tests and more thorough tests of Client Dec 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant