ingwarsw / arquillian-suite-extension

Arquillian extension that will force single deployment for all tests
Apache License 2.0
67 stars 20 forks source link

Allow to configure for full classpath scan. #60

Closed Chewbizz closed 4 years ago

Chewbizz commented 4 years ago

Clients can configure the extension in order for the annotated class search process to scan the full classpath.

ingwarsw commented 4 years ago

@Chewbizz Really cool.. Thanks for PR.. Could you add any tests for that use case? Im not sure how hard it will be but please try ..

Chewbizz commented 4 years ago

Sure. I'll give it a try.

Chewbizz commented 4 years ago

Tests were working using plain JUnit, but not through maven surefire, because the classpath is set differently. See here https://maven.apache.org/surefire/maven-surefire-plugin/examples/class-loading.html I found a workaround for surefire that can be also useful in some other setups.

It took me some time, but I learnt something :)

ingwarsw commented 4 years ago

@Chewbizz Thanks a lot..

Chewbizz commented 4 years ago

You're welcome, thank you for taking the time to review and merge :)

ingwarsw commented 4 years ago

@Chewbizz New version released 1.2.1 should show soon on maven central