THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
mvn clean install -DskipTests cd itests mvn clean install -DskipTests |
Testing
How
...
do I run a single test?
Warning | ||
---|---|---|
| ||
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
...