Skip to content
Phil Beauvoir edited this page May 1, 2019 · 8 revisions

Settings for Running JUnit Tests in Eclipse

Create a new JUnit Plug-in Test Run Configuration and name it "All Tests"

Important settings for each tab (if a setting is not shown below, it is optional):

Test

  • Run a single test
    • Project: com.archimatetool.tests
    • Test class: com.archimatetool.tests.AllTests
  • Test runner: JUnit 4
  • Keep JUnit running after a test run when debugging: off
  • Run in UI thread: off

Main

  • Run an application: [No Application] - Headless Mode

Plug-ins

  • Launch with: features selected below
    • com.archimatetool.tests.feature
  • Press "Select Required" button to add other required features
  • Use features from workspace if available: on (You must select this!!)
  • Validate Plug-ins automatically prior to launching: off (Also important!)

Configuration

  • Use default location: on
  • Clear the configuration area before launching: on
  • Generate a config.ini file as a template: on
Clone this wiki locally