Skip to content
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

Plugins attribute should not be required if test container points to a plugin project #80

Open
kapexx opened this issue May 14, 2024 · 0 comments

Comments

@kapexx
Copy link
Contributor

kapexx commented May 14, 2024

Related to #79, if a junit-plugin container points to a plugin project, it is added to the list of dependencies. If there are no explicit plugin dependencies defined though, we get the error missing required attribute: [plugins, contentProviderProduct, features]. This seems to restrictive to me, it should be ok to omit explicit dependencies in that case.

For example, this should be a valid configuration, but it is currently considered invalid because org.example.demo.test is only listed as container but not redundantly as plugin dependency.

junit-plugin configuration Demo {
    test {
        runner junit5;
        container '/org.example.demo.test';
    }
    application org.eclipse.pde.junit.runtime.coretestapplication;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant