# “Do I need these instructions?”

You are welcome to follow these instructions to make things easier when you run the test cases while working on your assignments.

You will still need to run the Maven wrapper, either from the command line or from Eclipse, to make sure your assignment works according to the setup we specified.

With the following instructions, you are probably wondering “Why do I need to import the assignment as a Maven project, if all I want is to simply just test my project using JUnit?”

It’s because the project does not include the JUnit libraries (junit.jar, etc). But all this information is stored in the pom.xml file. The dependencies will be downloaded and imported into the project by Maven. Hence, we make a Maven project just so we have all our dependencies managed.

If you create a standard Java Project in Eclipse (File > New > Java Project), then Eclipse will complain about the test files (under src/test/java/...). It doesn’t know what JUnit is, and you would have to download and connect JUnit yourself. For this reason, we are making a Maven project so Eclipse knows to immediately look into the pom.xml, download JUnit, and connect it to our project.