Skip to content

itaisteinherz/java-test

Repository files navigation

java-test Build Status

Java testing utility

Features

  • Lints code using CheckStyle.
  • Runs the tests.
  • Compares the tests' output to expected output and highlights differences.
  • Fix issues automagically with $ java-test --fix (using Google's source code formatter).

Install

$ npm install --global https://github.com/itaisteinherz/java-test

Usage

$ java-test --help

  Usage
    $ java-test <file> [<tests> <tests_output>]

  Options
    --fix      Automagically fix issues
    --sun      Use the Sun CheckStyle config (Google's is used by default)

  Examples
    $ java-test HelloWorld.java
    $ java-test HelloWorld.java HelloWorldTests.java HelloWorldTests-output.java

License

MIT © Itai Steinherz

About

Java testing utility

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published