Unit Tests
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Maintain unit test - keep them running
TDD - Test Driven Development
Tests must be clean too - they will change with the code
Tests must obey the test patterns
F.I.R.S.T. principles
Enforces to write testable code Makes the code flexible - changes with regression tests
Try to reach higher levels (>90%)
Do not write tests only for the sake of the code coverage
Use the default (package) visibility for the sake of the unit testing
Unit Testing briefly: