Unit test – Best practices
1. Keep test method as simple as possible:
DRY principle (Don’t repeat yourself)
Re-use test set up across test cases: put non-trivial test data in test set up method
Clean test code as productive code
September 5 2007one Commented
Categorized Under: Agile, Software Engineer, Testing
1. Keep test method as simple as possible:
DRY principle (Don’t repeat yourself)
Re-use test set up across test cases: put non-trivial test data in test set up method
Clean test code as productive code