-
Notifications
You must be signed in to change notification settings - Fork 34
Unable to execute Tackle-Test without errors #340
Description
I work on a Gradle multi-project for which I would like to generate unit tests. As suggested, I am attempting to analyze a small portion of the project before analyzing the whole thing.
Because this is a Gradle multi-project, we only have one settings.gradle file, so when attempting to provide different app_build_files entries, the same settings.gradle file was used repeatedly.
I tried several different app_build_files configurations, but what it came down to are the two configurations in my toml file. One is commented out, so that the other could be used.
There are different failures, none of which really make sense to me.
1st Configuration
Resulted in the Gradle output in tkltest_2.4.4_gradle_output_configuration_1.txt
The unidentified plugin is in the base build.gradle file. I commented it out in the sub-project gradle file and tried again.
Resulted in the Gradle output in tkltest_2.4.4_gradle_output_configuration_1a.txt
The dependency called out is in the folder identified in app_classpath_file. Then, I thought okay, make a file
2nd Configuration
Resulted in the Gradle output in tkltest_2.4.4_gradle_output_configuration_2.txt
I don't understand why the Gradle plugin for Java would cause a failure.
** Description, continued **
I also see that there is a statement that module-info.java is not found. Is that a requirement for Tackle-Test?
NOTE: I tried my classpath.txt file with and without "Class-Path:" prepending the dependency declarations.
Any and all help is greatly appreciated. Is there a more detailed guide that I should be following? I don't want to take more of your time than necessary.
Thanks,
Todd
Environment information
- CLI 2.4.4
- OS: Windows
Attachments
Attached - The toml file containing the configuration information used
Attached - The log file created by running the CLI with the --verbose and --log-level INFO options
Classpath file attached, others not permitted - If possible, a zip file containing the application classes, and the file specified as app_classpath_file option in the toml file together with the library dependencies listed in the file
Not generated - If the failure occurred for the generate command, please attach the following files if they were created during the failing run:
- The CTD test plan JSON file (<app-name>_ctd_models_and_test_plans.json)
- The building-block test sequences JSON files (<appname>_EvoSuiteTestGenerator_bb_test_sequences.json and/or <app-name>_RandoopTestGenerator_bb_test_sequences.json)
N/A - If the failure occurred for the execute command, please attach the zip file of the directory
containing the generated test JUnit test cases
classpath.txt
tkltest_2.4.4_gradle_output_configuration_1.txt
tkltest_2.4.4_gradle_output_configuration_1a.txt
tkltest_2.4.4_gradle_output_configuration_2.txt
tkltest_unit_configuration_1a.log
todd_config.txt