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

Test class not accepting all JUnit5 variants #50

Closed
frankbenoit opened this issue Feb 5, 2022 · 1 comment
Closed

Test class not accepting all JUnit5 variants #50

frankbenoit opened this issue Feb 5, 2022 · 1 comment

Comments

@frankbenoit
Copy link

In the LCDSCL the block

Test {
    class my.TestClass;
}

does not accept all JUnit5 test classes.

E.g. in JUnit5 test class/method can be non-public, but package visible only. Please consider this example:

class TestClass {
    class Base {
        @Test
        void testMethod1() {}
        @Test
        void testMethod2() {}
    }
    @Nested
    class Variant1 extends Base {
        // configuration only, no test method
    }
    @Nested
    class Variant2 extends Base {
        // configuration only, no test method
    }
}
@mduft
Copy link
Member

mduft commented Feb 7, 2022

True, LcDSL currently only supports the JUnit Plugin Test Type from PDE, and the SWTBot Junit Tests. Additional support can be added (... when time permits and/or somebody cares to contribute ;)).

@mduft mduft closed this as completed in 4f883f7 Jun 30, 2022
mduft added a commit that referenced this issue Jun 30, 2022
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

2 participants