Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
mvn clean install -DskipTests
cd itests 
mvn clean install -DskipTests

Testing

How

...

do I run a single test?

Warning
titleITests

Note that any test in the itests directory needs to be executed from with the itests directory. The pom is disconnected from the parent project for technical reasons.

...

No Format
mvn test -Dtest=ClassName#methodName

How do I debug into a single test in Eclipse?

You can debug into a single unit test in Eclipse by first making sure you've built the Eclipse files as described elsewhere,
and imported the project into Eclipse.
Then set one or more breakpoints, highlight the method name of the junit test method you want to debug into, and
do Run -> Debug.

A test fails with a NullPointerException in MiniDFSCluster

...