-
Notifications
You must be signed in to change notification settings - Fork 0
Intro to Unit Testing
raisercostin edited this page Jul 1, 2017
·
1 revision
state:draft
- How to reuse testing code?
Extract code in methods and call them. - How to reuse entire batteries?
Extract test parameters and define a junit parametric test. - How to execute a specific failing test from a parametric test in eclipse?
You cannot. Extract it in a separate test and call it.
- Parametric tests are brittle.
- Reuse through methods with parameters.
- Have boilerplate test methods that call the methods with parameters.