The idea behind this tool is explained in this presentation.
Currently, it only supports JUnit 5 test classes as input.
The entire idea in a nutshell.
test-driven-generator.jar <path to JUnit 5 test class>
If there is only one command line argument it is assumed that this is a path to a JUnit 5 test class. If there are more arguments you should use the flags below.
flag | argument | description |
---|---|---|
--test-file | path to test file | |
--family | LLM family | possible values: ollama, chatgpt |
--model | LLM model | examples: llama3, gpt-4 (valid models depend on the chosen family) |
--working-directory | path to working directory |