{{theTime}}

Search This Blog

Total Pageviews

JUnit 4 feature Parameterized tests:

- Allows to run the same test multiple times based on parameter values.

How to write the test?

- Annotate test class with @RunWith(Parameterized.class)
- Create public static method with annotation @Parameters and return collection of objects
- Create a public constructor that takes the Parameter Object type.

No comments:

java.lang.IllegalArgumentException: Unsupported class file major version 60

- Check the stack trace and version of Java. - Update the correct Java Version to resolve the Exception.