Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests to check the API works as expected #3

Open
sillitoe opened this issue Jul 10, 2020 · 0 comments
Open

Add tests to check the API works as expected #3

sillitoe opened this issue Jul 10, 2020 · 0 comments

Comments

@sillitoe
Copy link
Collaborator

We could do with lots more tests everywhere, however most importantly we want to confirm that this client has implemented the 3D Beacons API correctly.

An overview of this testing strategy:

  • build an API client from the OpenAPI spec (ie independent of any code in this repo)
  • get example input data
  • start up the test server
  • populate the local database with this example data
  • check the actual results against the results we expected
  • clean up the test files / database

To be honest, this would be the general strategy to test any 3D-Beacons client, so it might even be worth trying to make it as generic as possible,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant