-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests can't be generated in the debug IDE due to #1118
Comments
Reproduced JobCancellationException: Steps to reproduce @EgorkaKulikov - please add the scenario Expected result No exception should be thrown in IDE. Actual result The following exception is thrown right in IDE: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=CompletableDeferredImpl{Cancelled}@7b9b9939 |
Description
No tests are generated in the debug IDE (
runIDE
Gradle targe ofutbot-intellij
). Generation fails, and the exception is thrown and caught by the debug IDEA.It seems that
log4j2
configuration file can't be found (see below for the log).To Reproduce
Start the debug IDEA (
runIDE
run configuration / Gradle target) and invoke the plugin to generate any test suite.A sample code:
Try to generate a test for
bar
method or for the entire class.The bug is reproducing using the current
main
branch (last commit:56bf6ab79fab2631a52a1b86da249c60c36ae73e
),Expected behavior
A test suite should be generated.
Actual behavior
The plugin fails with an exception that is caught and displayed by the debug IDE.
The log from the "main" IDEA:
Contents of
/tmp/UTBot/rdEngineProcessLogs/109989167155163723-0.log
:Environment
I can reproduce this behavior using IDEA Ultimate 2022.2.2 as the development IDE and IDEA Community 2022.2.2 as the debug IDE under Ubuntu 20.04.5 LTS. It seems that test generation settings do not matter here.
The text was updated successfully, but these errors were encountered: