Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Free/Open Source Test Generator for Java? [closed]

Are there any libraries for Java that can generate unit tests or unit test skeletons for existing code? I'm looking for something similar to pythoscope. Ideally it would generate code that follows JUnit4 or TestNG conventions.

It looks like Agitar does something like this, but I'm looking for something free.

like image 877
Ryan Avatar asked Sep 24 '08 02:09

Ryan


People also ask

Is EvoSuite open-source?

As EvoSuite is released as open-source (and so freely available to download and modify), it has been used as a reference tool for search-based software testing in a number of independent studies, like: Comparison with other tools like Pex, CATG, jPET and SPF.

Is TestNG only for Java?

TestNG is an open-source test automation framework for Java. It is developed on the same lines as JUnit and NUnit. A few advanced and useful features provided by TestNG make it a more robust framework compared to its peers.

Is RFT open-source tool?

Robot Framework.This is an open-source tool with the keyword-driven approach – this feature ensures acceptance test-driven development (ATDD) and acceptance testing. Moreover, you can extend its test capability if you implement additional libraries (use Java and Python).

Is Katalon open-source?

Best Free Open-Source Automation Testing Tools & Frameworks. Katalon is a modern, comprehensive quality management platform that helps teams of any size deliver the highest quality digital experiences.


1 Answers

Most IDEs will generate test method stubs for any class. I know Eclipse will.

New->JUnit Class then you tell it which class you're testing and what methods you want to test.

like image 89
Matt Avatar answered Oct 31 '22 11:10

Matt