Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am developing a testing tool. Is it possible to add JUnit functionality to a java application so that the application (itself) can run test cases against a specified java code. In a more specific way, the application takes a folder of test cases, and the code to be tested, it then runs the test cases against that code.

if it is possible, what is the required libraries to include in the application?

Thanks.
Posted
Updated 11-Feb-15 23:14pm
v2

1 solution

Testing is just executing your code with the added feature of collecting the results, at the very least you can run a command line for JUnit or any other testing tool and parse the results : http://stackoverflow.com/questions/2235276/how-to-run-junit-test-cases-from-the-command-line[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900