Class ClojureRunTestWithJUnitMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.theoryinpractise.clojure.AbstractClojureCompilerMojo
com.theoryinpractise.clojure.ClojureRunTestWithJUnitMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
ClojureRunTestMojo

@Mojo(name="test-with-junit", defaultPhase=TEST, requiresDependencyResolution=TEST) public class ClojureRunTestWithJUnitMojo extends AbstractClojureCompilerMojo
  • Field Details

    • skip

      @Parameter(required=true, property="maven.test.skip", defaultValue="false") private boolean skip
      Flag to allow test compiliation to be skipped.
    • skipTests

      @Parameter(required=true, property="skipTests", defaultValue="false") private boolean skipTests
      Flag to allow test execution to be skipped.
    • testScript

      @Parameter private String testScript
      The main clojure script to run
    • testOutputDirectory

      @Parameter(defaultValue="${project.build.directory}/test-reports", property="clojure.testOutputDirectory") private String testOutputDirectory
      Output directory for test results
    • xmlEscapeOutput

      @Parameter(defaultValue="true", property="clojure.xmlEscapeOutput") private boolean xmlEscapeOutput
      Whether to XML escape non-report output sent to *out*
    • test

      @Parameter(property="test") private String test
      Provide a comma separated list of tests to run, instead of trying to run all of the test.
  • Constructor Details

    • ClojureRunTestWithJUnitMojo

      public ClojureRunTestWithJUnitMojo()
  • Method Details