Testing code in the context of the eclipse environment as a JUnit test can be very slow. Execution time can be significantly reduced by only using the necessary plugins in "headless mode". Just follow these simple instructions:
Note: For tests involving the models repository the position of this repository must be defined in the configuration. First, make sure to checkout the KIELER models repository located here. Afterwards, in the "Run Configurations" menu, choose the tab "Environment" and click on "New...". Add an environment variable with the name "models_repository" and the path to the checked out models repository as the value. Click "Apply" and you are set for testing.