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
- Host: GitHub
- URL: https://github.com/itaisteinherz/java-test
- Owner: itaisteinherz
- License: mit
- Created: 2017-12-16T19:09:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-09-21T20:58:50.000Z (almost 7 years ago)
- Last Synced: 2025-02-09T04:42:45.084Z (over 1 year ago)
- Topics: checkstyle, formatter, java, linter, nodejs, testing
- Language: JavaScript
- Size: 13.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# java-test [](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)