List of steps for test refactoring:
- Convert simple non fluent Junit to simple assertions (TODO: add list)
- Convert harmcrest to arithmetical expressions
- Consolidate consequtive assertions
- Consolidate methods with common setup and different tests
- Remove verification of non-exception
- Use expected exception instead of
try \ catch
- Split independent tests
- Sane paramatrization of tests
List of steps for test refactoring:
try \ catch