A Runner runs tests and notifies a RunNotifier
of significant events as it does so. You will need to subclass Runner
when using @RunWith to invoke a custom runner. When creating
a custom runner, in addition to implementing the abstract methods here you must
also provide a constructor that takes as an argument the Class containing
the tests.
Runnerruns tests and notifies aRunNotifierof significant events as it does so. You will need to subclassRunnerwhen using@RunWithto invoke a custom runner. When creating a custom runner, in addition to implementing the abstract methods here you must also provide a constructor that takes as an argument theClasscontaining the tests.