Testing Best Practice Flashcards
1
Q
What are some testing best practices?
A
Positive
- Ensure the expected behavior occurs when the user correctly makes use of it
- If everything is correct, we get the correct answer
Negative
- Test to ensure that if things are not correctly used, are we handling it gracefully, and the errors being returned are the correct ones
Single Action
- Pass in a single record, does it execute correctly?
Bullk Testing
- Pass in multiple records, 200, is there a certain point to where our code cannot handle records being passed in
Restricted User
- Are we sharing, or not sharing, access as is appropriate