Best Practices
- Choose carefully for the names of the Tests and Testcases
the name should reveal intent.
- Test behavior, not methods
Test from the perspective of User, we choose methods to implement a behavior, but not necessarily a specific method that worth to test.
近期评论