ciselab / TestGenie

TestGenie - an IntelliJ plugin that natively integrates EvoSuite into the IDE. EvoSuite is an automated test suite generation tool using evolutionary algorithms. Used for research @ SERG, TU Delft.
MIT License
1 stars 0 forks source link

Add test generation for methods #32

Closed jzelenjak closed 2 years ago

jzelenjak commented 2 years ago

Description of changes made

Why is merge request needed

This merge request is needed since one of the client's requirements was the generation of tests for a selected method.

Other notes

What is missing?

lyuben-todorov commented 2 years ago

EvoSuite's -Dtarget_method parameter expects a method descriptor from the context of java ASM. Implementing true test generation for a target method is out of the scope of this issue. For now this is implemented with -Dtarget_method_prefix, the downside being that this will generate tests additional tests for all method overloads and all methods where the method name start with the provided prefix.