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

Aspects of the application that need to have testing implemented #39

Open
2 of 6 tasks
J-avery32 opened this issue Jul 20, 2020 · 1 comment
Open
2 of 6 tasks
Assignees

Comments

@J-avery32
Copy link
Collaborator

J-avery32 commented Jul 20, 2020

What follows is a list of tests that need to be implemented for the application:

  • We must implement testing for the paging component of the API, including the possible exceptions that may arise from that
  • We must implement testing to ensure that users who are not authenticated cannot access authenticated endpoints.
  • We must test that the restful endpoints notify the user if the provided JSON is malformed (e.g. incorrect syntax, this is different than ensuring that the JSON matches the schema)
  • We might want to test that the JSON is validated correctly
  • Currently, the compounds restful endpoints are not being tested, only the MongoCollectionDao for compounds, this needs to change
  • We need to test the PUT methods

Finally: do we want to test the individual classes, the entire app end to end, or both? This is an important question to consider as I notice that we are being inconsistent about how testing is implemented. I propose that we only test the restful methods and not test any of the underlying services DAOs or resources themselves.

@J-avery32
Copy link
Collaborator Author

Although, due to the fact that this is a large app, perhaps it will be a good idea to test the underlying classes as well.

@J-avery32 J-avery32 self-assigned this Jun 29, 2021
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