Winter '18 is introducing the @isTest(isParallel=true
) option to explicitly allow test methods to run in parallel even when the "Disable Parallel Apex Testing" option is enabled. -
Run Parallel Tests Using a New Option on the @isTest Annotation
This doesn't appear to work for the case where "Disable Parallel Apex Testing" is not
active and it is set to @isTest(isParallel=false
). I'd consider this to be the more useful scenario in an org with hundreds of test cases and only a handful that are sensitive to running in parallel. It would be much easier to explicitly exclude a few tests than add this option to the majority.