Skip to content

COLA Compiler

Bruno Santos edited this page Jul 24, 2015 · 9 revisions

If you are not using Instrumentation, Maven or Gradle then COLA Tests allow users to compile tests from the command line through colac.

The COLA Tests command line compiler is available as an executable über-jar.

Download: colac latest

First check the cola-tests version:

$java -jar colac.jar --version
cola-tests-compiler 0.4.0

Then download the respective cola-tests version from Maven Central Repository and add it to your tests class path.

Add respective cola-tests library and its dependencies to the JUnit test classpath.

Dependencies:

  1. asm-5.0.3.jar
  2. cola-tests.jar (must be same version as colac)
  3. gherkin-2.12.2.jar
  4. jcommander-1.35.jar
  5. plexus-build-api-0.0.7.jar
  6. plexus-utils-1.5.8.jar
  7. slf4j-api-1.7.2.jar
  8. log4j-1.2.17.jar (optional)
  9. slf4j-log4j12-1.7.5.jar (optional)

colac help:

$java -jar colac.jar --help
Usage: java -jar /path/to/cola-tests.jar [options]
  Options:
    -h, --help
      Print this guide
      Default: false
  * -t, --target
      Base directory containing compiled java packages and classes (required)
    -v, --version
      Print out version information
      Default: false
Clone this wiki locally