nWith the runner provided by JUnit:
nWhen a class is selected for execution, all the test
case methods in
the class will be run.
nThe order in which the methods in the class
are called (i.e. the
order of test case execution) is
not predictable.
nTest
runners provided by IDEs may allow the user to
select
particular methods, or to set the order of execution.
nIt
is good practice to write tests with are independent of execution order, and that are without
dependencies on the
state any previous test(s).
n