Prev Next

Testing / Junit Interview questions II

Can a test method return a value?

For e.g. if the test method returns a List of Objects or an primitive datatype, it will not be excuted as a test method even though it compiles.

More Related questions...

Show more question and Answers...


Comments & Discussions