Skip to content

punitarani/java-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java-Tester

Java Testing and Debugging Tool

Features:

  • Compile and run tests automatically with one command.
  • Automatically finds input and output files.
  • Line-by-line error highlighting.

Tutorial

1. Download the test.jar

Download Link: https://github.com/punitarani/java-tester/raw/main/test.jar

Note: The test.jar file might be blocked from downloading by your browser.

You can click on the three dots and select Keep to download the file.

test-jar-cmd

Assignment directory should look like this:

</assignment-directory>
├── Assignment1.java
├── input1.txt
├── input2.txt
├── output1.txt
├── output2.txt
└── test.jar

2. Open Terminal and change directory to the assignment directory.

(Can also be done by opening terminal from the assignment directory)

C:\Users\user> cd </assignmnet-directory>

assignment-dir-cmd

3. Run the test.jar file:

java -jar test.jar

test-jar-cmd

The results from each test will be saved as result*.txt files in the assignment directory.

  • The test results will be displayed in the terminal.

  • If there are any failed tests, you will be prompted if you want to debug them.

  • It will find the line number of the error and highlights the errors.

About

Java Testing Tool with Text Comparision.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages