Description
We need to run utbot-framework tests in different configurations, including ones with TestNg as a test framework.
Modern versions of TestNg require JDK11 compatibility, so tests should be compiled using JDK 11 target.
At the same time, the utbot-framework project is a dependency for the concrete executor that should be run with the same JDK version as the project that UnitTestBot is analyzing, including JDK 1.8. As a result, utbot-framework must be compiled with JDK 1.8 target.
To solve this contradiction, we should move framework tests from utbot-framework into a separate project with a dependency to utbot-framework.
Note: GitHub actions should be updated to reflect this change.
Expected behavior
Tests will be compiled with different target version than the utbot-framework itself. It will be possible to run them in different configurations, with or without TestNg.
Description
We need to run
utbot-frameworktests in different configurations, including ones withTestNgas a test framework.Modern versions of
TestNgrequire JDK11 compatibility, so tests should be compiled using JDK 11 target.At the same time, the
utbot-frameworkproject is a dependency for the concrete executor that should be run with the same JDK version as the project thatUnitTestBotis analyzing, including JDK 1.8. As a result,utbot-frameworkmust be compiled with JDK 1.8 target.To solve this contradiction, we should move framework tests from
utbot-frameworkinto a separate project with a dependency toutbot-framework.Note: GitHub actions should be updated to reflect this change.
Expected behavior
Tests will be compiled with different target version than the
utbot-frameworkitself. It will be possible to run them in different configurations, with or withoutTestNg.