Skip to content

TalTech-Testing/java-tester

Repository files navigation

Usage: StudentTester [options]
  Options:
  * --code, -c
      Path where the testable code is located
  * --tests, -t
      Path where the matching unit tests are located
  * --runners, -r
      Comma-separated list of actions to run (see below). Prepend runner with 
      ~' to override previous enable
    --plainTextOutputInJson, -jsontxt
      Include the plain text report in JSON (overrides --plainTextOutput).
      Default: false
    --plainTextOutput, -txt
      Instead of JSON, print a plain text report
      Default: false
    --additionalJars, -jars
      Comma-separated list of JAR archives or folders of JARs to load at 
      runtime 
      Default: []
    --out, -o
      Output file name, if not defined, then stdout will be used
    --checkstyleXml, -csxml
      Checkstyle XML rule file. You can also include checkstyle.xml in the 
      tests folder
      Default: /sun_checks.xml
    --separateCompilation, -csep
      Compile each unit test separately to skip ones that can't be compiled
      Default: true
    --gradleLike, -g
      Signifies that source folders may be in Gradle or Maven-like format 
      (src/main/java), implies --separateCompilation == false
      Default: false
    --temp, -tmp
      Path used for temporary files, using system-provided location by default
    --discardModuleInfo, -nomod
      Discard module-info.java which may enable non-modular compilation
      Default: true
    --deleteTmp, -del
      Delete temporary folder before exit
      Default: false
    --timeout, -to
      Maximum number of milliseconds each unit test can run before being 
      terminated 
      Default: 15000
    -O
      Additional options to pass to the compiler. By default the source paths, 
      module path and UTF-8 encoding are forced
      Syntax: -Okey=value
    -U
      Parameters to pass to unit tests. Refer to TestNG's @Parameters 
      documentation 
      Syntax: -Ukey=value

Runners can be any of the following: CHECKSTYLE,FILEWRITER,COMPILER,REPORT,TESTNG,JAR

Architecture diagram

flow

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •