-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Expand API acceptance tests #31403
Comments
@paurakhsharma we discussed some of this today. The basics of Provisioning is now good. Maybe you can review that, specially to see where there could be improved/more Then move on to another API area. Comments please from others about the general approach that I have outlined above - if you think there is anything missing, or too much or... |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
This will be ongoing for a while yet. I need to review and update progress status! |
is there anything we can tick off the list by now? |
For each area of API do something like:
When writing test scenarios, as well as testing the OCS and/or HTTP status response, "always" (=as much as possible) have
Then
steps that confirm that the action did happen (e.g. a group now exists after the test has created it) or that some sensible data was returned in the response (e.g. forGET
). For actions that are expected to fail, check that the response data is empty, or the group does not exist or... The principle here is "do not just believe everything is good because the HTTP status says so".API areas:
The text was updated successfully, but these errors were encountered: