Package org.fest.swing.junit.v4_5.runner


package org.fest.swing.junit.v4_5.runner

Provides a custom JUnit 4.5 Runner that takes a screenshot of failed GUI tests executed, for example, in an IDE.

The custom JUnit Runner, GUITestRunner, can take screenshots of failed GUI tests. To use it, just annotate your test class with "@RunWith(GUITestRunner.class)." Screenshots of failed tests will be saved in the directory "failed-gui-tests" (relative to the directory where tests are executed.)

GUITestRunner has been tested with Eclipse 3.4.1. It is currently not working with IntelliJ IDEA due to bug IDEA-13389.

  • Classes
    Class
    Description
    Understands a JUnit 4.5 test runner that takes a screenshot of a failed GUI test.
    Understands execution of a test method.