Skip to content

Move utbot-framework tests to a separate project #772

Closed
@EgorkaKulikov

Description

@EgorkaKulikov

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.

Metadata

Metadata

Assignees

Labels

ctg-refactoringIssue related to refactoring process

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions