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 end-to-end tests #3

Open
CapOfCave opened this issue Apr 15, 2021 · 0 comments
Open

Add end-to-end tests #3

CapOfCave opened this issue Apr 15, 2021 · 0 comments
Labels
epic A task that should be split into smaller tasks test

Comments

@CapOfCave
Copy link
Owner

CapOfCave commented Apr 15, 2021

For each method from the public API, there should be one test case:

  • Mock the HTTP request, returning data from a json file that was copyed from the official api docs. (For file reading, the existing FileReaderUtil can be used.)
  • call the method that should be tested
  • verify that the result equals the result returned from the relevant TestProvider
@CapOfCave CapOfCave added test epic A task that should be split into smaller tasks labels Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic A task that should be split into smaller tasks test
Projects
None yet
Development

No branches or pull requests

1 participant