StefanMaron / BusinessCentral.LinterCop

Community driven code linter for AL (MS Dynamics 365 Business Central)
https://stefanmaron.com
MIT License
77 stars 31 forks source link

Mark tests as parallelizable on assembly level #692

Closed dannoe closed 3 months ago

dannoe commented 3 months ago

This will mark all tests as parallelizable

Shamelessly copied from https://docs.nunit.org/articles/nunit/writing-tests/attributes/parallelizable.html:

The ParallelizableAttribute may be specified on multiple levels of the tests. Settings at a higher level may affect lower level tests, unless those lower-level tests override the inherited settings.

This will improvement test run time from like ~30-40 seconds to ~7 seconds.

Arthurvdv commented 3 months ago

Thanks! This is going to be of great help when in the future the tests are part of the pipeline.