org.fest.swing.junit.v4_3_1.runner
Class GUITestRunner
java.lang.Object
org.junit.runner.Runner
org.fest.swing.junit.v4_3_1.runner.GUITestRunner
- Direct Known Subclasses:
- GUITestRunner
public class GUITestRunner
- extends Runner
Understands a JUnit 4.3.1 test runner that takes a screenshot of a failed GUI test.
- Author:
- Alex Ruiz, Yvonne Wang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GUITestRunner
public GUITestRunner(Class<?> testClass)
throws org.junit.internal.runners.InitializationError
- Creates a new
GUITestRunner
.
- Parameters:
testClass
- the class containing the tests to run.
- Throws:
org.junit.internal.runners.InitializationError
- if something goes wrong when creating this runner.
run
public void run(RunNotifier notifier)
- Run the tests for this runner, taking screenshots of failing tests.
- Specified by:
run
in class Runner
- Parameters:
notifier
- will be notified of events while tests are being run, started, finishing, and failing.
getDescription
public Description getDescription()
- Returns a
Description
showing the tests to be run by the receiver.
- Specified by:
getDescription
in class Runner
- Returns:
- a
Description
showing the tests to be run by the receiver.
Copyright © 2007-2010 FEST (Fixtures for Easy Software Testing). All Rights Reserved.