-
Notifications
You must be signed in to change notification settings - Fork 179
faq 184287237
Billy Charlton edited this page Sep 5, 2018
·
2 revisions
by Johan W. Joubert on 2018-02-23 05:27:46
I am writing tests in the matsim-example-project
and include the following:
@Rule public MatsimTestUtils utils = new MatsimTestUtils();
But when I run the tests I get the following initializationError
:
Any clues as to how to solve it will be welcome.
by Marcel Rieser on 2018-02-23 22:29:53
To use MatsimTestUtils
, you have to include a special matsim-test dependency. Make sure to have the following dependency, and note the "test-jar" type:
<dependency>
<groupId>org.matsim</groupId>
<artifactId>matsim</artifactId>
<version>0.10.0-SNAPSHOT</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq