Handle application.xml
conflict with user's Spring project
#2156
Labels
comp-spring
Issue is related to Spring projects support
ctg-bug
Issue is a bug
priority-blocker
Bug blocking some of the main features
Milestone
Description
If user's project has
application.xml
and we try to run SpringApplication from UnitTestBot, there is a conflict because this is the reserved name for the XML-based configuration file.To Reproduce
project in IntelliJ Idea 2023.1 Ultimate
PetController
application.xml
as Spring configuration~\AppData\Local\Temp\UTBot\rdEngineProcessLogs\utbot-engine-current.log
Expected behavior
XML configuration is supposed to be used for test generation.
Actual behavior
Spring configuration is failed.
UnitTestBot has silently switched to No configuration mode.
Visual proofs (screenshots, logs, images)
The following exceptions are in log file:
Environment
Windows 10 Pro
IntelliJ IDEA 2022.3 - 2023.1 Ultimate
The text was updated successfully, but these errors were encountered: