I have no experience with JUnit Categories. But from a quick research it looks like you can build JUnit test suites from Categories. This would allow you to run the specific suite from Eclipse.
On 2018-05-03 01:02, Simbosan wrote: > Well I shall slink off and die of embarrassment then =) > > Many thanks for the reply. > > I'm using @Category to group JUnit tests and I wanted to get Coverage to > follow the same categories. I can drive the Category system fine from Maven > either via Eclipse Maven builds or via command line, but getting Eclipse to > understand JUnit categories is proving impossible. > > Thanks again for the quick reply. > > S > > On Thursday, 3 May 2018 09:40:36 UTC+12, Simbosan wrote: > >> I have tried everything: >> >> Trying to exclude a class called IntegrationTest (just an example) >> >> The name of the class: IntegrationTest >> The name of the class with .class: IntegrationTest.class >> The name of the class with wildcards: *IntegrationTest* >> The full path including: /src/main/java/<package>/IntegrationTest >> The package name: com.test.IntegrationTest >> package name with class: com.test.IntegrationTest.class >> >> Exclude EVERYTHING: * >> >> IntegrationTest always runs! >> >> What am I missing here, or is this feature not working? >> >> Eclipse Java EE IDE for Web Developers. >> Version: Oxygen.3a Release (4.7.3a) >> Build id: 20180405-1200 >> OS: Windows 10, v.10.0, x86_64 / win32 >> >> EclEmma Java Code Coverage 3.1.0.201804041601 >> org.eclipse.eclemma.feature.feature.group Eclipse EclEmma > > -- > You received this message because you are subscribed to the Google Groups > "JaCoCo and EclEmma Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/05459be1-f1d4-4d3c-b5d6-9be8d7675236%40googlegroups.com > [1]. > For more options, visit https://groups.google.com/d/optout. Links: ------ [1] https://groups.google.com/d/msgid/jacoco/05459be1-f1d4-4d3c-b5d6-9be8d7675236%40googlegroups.com?utm_medium=email&utm_source=footer -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/3d82b33229e4e36dbd6e609daa18ccc0%40mountainminds.com. For more options, visit https://groups.google.com/d/optout.
