ingwarsw / arquillian-suite-extension

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

Ability to disable extension? #56

Closed commodis closed 4 years ago

commodis commented 4 years ago

While the extension is useful to run all tests in batch, sometimes it is smart to only run a single test for example in development.

Is there some option to disable the extension?

Currently we are commenting out the @ArquillianSuiteDeployment annotation which is very error prone.

ingwarsw commented 4 years ago

Hello @commodis.

But if you want to run 1 test it should not be a problem to run just it.. You will have to deploy your "deployment" either for 1 test or for batch.. (and it should be same deployment)

If for whatever reason its not the case you can try using setting suite via arquilian.xml file and somehow generate it dynamically based on properties/params.

See documentation here.. https://github.com/ingwarsw/arquillian-suite-extension/blob/93c9e542ead1d52f45e87b0632bb02ac11f693c8/README.md#configuring-deployment-suite-class-by-in-arquillianxml

commodis commented 4 years ago

Thanks!

with a clean setup I could run a single tests without a problem. I think the behavior change somewhere along.

Closing this issue and sorry for the inconvenience