JUnit 4 Tutorial 6 – Parameterized Test
Abhi On Java: Unit Testing with JUnit 4.0
Writing a parameterized JUnit test « Our Craft
1. @RunWith(Parameterized.class)
2. Constructor with parameter(s)
3. @Parameters for a static method which returns Collection<Object[]>
Parameterized Unit Test is the same as the Data-Driven Test Suite idea in JUnit Recipes (4.8)
No comments:
Post a Comment