Test Class is re-enabled on switching Test Plan

Hi, Recently noticed this issue on Xcode 15.2

When I select a Test Plan, disable a class, enable just 1 test within that class and refresh the test plan the entire class gets enabled again.

steps to notice the issue:

  1. Select Test Plan 1
  2. Disable a class
  3. Enable 1 test within the class
  4. Select Test Plan 2
  5. Select Test Plan 1

Disabled class and all the tests inside the class are enabled.

Note: For now the workaround for that is disabling each test of the class individually

Does anyone have any idea why this is happening? If theres a way to disable a class instead of disabling each test inside the class?

Try unchecking "Automatically include new tests" in the Test Plan "Options..." popover

Test Class is re-enabled on switching Test Plan
 
 
Q