Skip to end of metadata
Go to start of metadata

The Nuxeo Platform provides a content repository for document management, digital asset management and case management business applications.

Due to different class loading rules and tests ordering, results from test might change if you run them inside Eclipse or with Maven. Note however that such cases raise an issue in the way the tests are written and should encourage to rewrite them.

Using Eclipse to debug tests run with Maven is easy. Say you want to debug the MySuperClassTest class:

  1. Start the Maven test just for this class in debug mode:

    The test will wait for Eclipse to connect.

  2. Open the Debug Configuration of Eclipse and set up a remote application on port 5005. Run the configuration, the test will resume. You can use break points and all the usual features of Eclipse debugging.

More goodies and information are available on the maven-surefire-plugin page.


  • No labels