An open API service indexing awesome lists of open source software.

https://github.com/itaisteinherz/java-test

Java testing utility
https://github.com/itaisteinherz/java-test

checkstyle formatter java linter nodejs testing

Last synced: about 2 months ago
JSON representation

Java testing utility

Awesome Lists containing this project

README

          

# java-test [![Build Status](https://travis-ci.org/itaisteinherz/java-test.svg?branch=master)](https://travis-ci.org/itaisteinherz/java-test)

> Java testing utility

## Features

- Lints code using [CheckStyle](https://github.com/checkstyle/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](https://github.com/google/google-java-format)).

## Install

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

## Usage

```
$ java-test --help

Usage
$ java-test [ ]

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](https://github.com/itaisteinherz)