The simplest way to get started with MagicTest is to use the Eclipse plug-in with the provided example project:

  • Download the Eclipse plug-in from the download section of the MagicTest website.

  • Copy the file magictest-eclipse.jar file into the dropins folder of your Eclipse installation.

  • Restart Eclipse.

  • Download the MagicTest-Examples project contained in the magictest-examples.zip and import it into your workspace.

  • Run the tests with "Run As / MagicTest" from the default run menu or the command "Run test" from the MagicTest context menu.

  • Check the HTML report automatically shown after running the test.

The examples project is setup to include MagicTest in the classpath. If you want to use MagicTest in your own project, do the following:

  • Navigate to your test project, open the Java Build Path dialog and select the tab Libraries. Press "Add Library...", select MagicTest and press Finish.

© Magicwerk.org