Skip to content

Custom test tasks are harder to write with 2.10.x #2063

@jansorg

Description

@jansorg

Describe the need of your request

AFAIK 2.10.x changed custom test tasks in a way that the plugin configuration is not reused from the main project.
Projects with a complex plugin dependency setup and custom test tasks are much harder to maintain now because both the project and the custom test task need a (duplicated) setup of plugins, bundled plugins, etc.

Proposed solution

A flag to tell the test task to reuse the main plugin setup or a method/mechanism to copy the plugin setup from the project's base setup to the custom test task would be very helpful.

Alternatives you've considered

No response

Additional context

Furthermore, custom tests provide the plugin dependency methods via IntelliJPlatformPluginsExtension and the regular plugin dependencies are added via ``IntelliJPlatformDependenciesExtension`. This complicates and prevents reuse, e.g. with an extension method in the Gradle build file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions