Testing / Junit Interview questions
Can a JUnit test method have a return type other than void?
All the JUnit test methods should have a void return type. otherwise it will be ignored.
If the return type of a test method is changed, it would not be considered as a test method and would be ignored during execution of tests.
More Related questions...