Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Code Block
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <properties>
            <property>
              <name>listener</name>
              <value>net.flexmojos.oss.test.ProgressListener</value>
            </property>
          </properties>
          <includes>
            <include>**/*TestDebug.java</include>
          </includes>
        </configuration>
      </plugin>

I guess I don't have to mention to rename the class back after you are finished and to revert the settings of the sur

Enable breakpoints in the test code

In the testsuite a lot of process forkin forking is done, so simply starting the maven build as debug build will probably only enable you to set breakpoints in the builds plugins. But this is not what we want.

By providing the following commandline parameter to maven and starting the build with a debug profile, the IDE is able to stop at breakpoints in the Unit tests of Flexmojos.

...