-
Notifications
You must be signed in to change notification settings - Fork 5
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:
- asm-5.0.3.jar
- cola-tests.jar (must be same version as colac)
- gherkin-2.12.2.jar
- jcommander-1.35.jar
- plexus-build-api-0.0.7.jar
- plexus-utils-1.5.8.jar
- slf4j-api-1.7.2.jar
- log4j-1.2.17.jar (optional)
- 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
Licensed under the Apache License, Version 2.0 (the "License").