Relative Content

Tag Archive for junit

JUnitEE vs JUnit

I know what unit testing is in general and what JUnit is in particular. But here I see that there is a project called JUnitEE which seems to me to be a wrapper over JUnit. So I would like to better understand the pain point of using vanilla JUnit and how JUnitEE is able to solve those problems.

Where Are Multiple JUnit Test Methods Typically Placed in Code?

I’ve just read the Vogella JUnit tutorial and found it very helpful in understanding how to use JUnit. However, I’m a bit confused about what the convention is for placing multiple test methods in code. The tutorial only places one test method in a class, then describes how you can use a test suite to group multiple test classes together.