Prev Next

Testing / Junit Interview questions

How do you create a JUnit test Method?

in JUnit3, test methods should follow the naming convention as the pattern test for e.g. testCompareMethod.

In Junit 4, test methods would be just annotated with @Test.

More Related questions...

Show more question and Answers...


Comments & Discussions