Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCTestPlan with "Automatically include new tests" unchecked #1264

Open
1 task done
macdrevx opened this issue Jan 24, 2024 · 1 comment
Open
1 task done

XCTestPlan with "Automatically include new tests" unchecked #1264

macdrevx opened this issue Jan 24, 2024 · 1 comment

Comments

@macdrevx
Copy link

macdrevx commented Jan 24, 2024

  • I have read CONTRIBUTING and have done my best to follow them.

What did you do?

  1. Create a test Xcode project
  2. Install Quick 5.0.1 via SPM
  3. Define two test case classes, one inheriting from QuickSpec and one from XCTestCase.
  4. Add a single test to each class that trivially fails (e.g. XCTFail or similar)
  5. Edit the test plan (Edit Scheme > Test > Click the arrow beside the default test plan)
  6. Run the tests
  7. Click "Options…"
  8. Deselect "Automatically include new tests"
  9. Ensure that both tests are enabled in the test plan
  10. Run the tests

What did you expect to happen?

Both tests should run

What actually happened instead?

Only the non-Quick test runs

Environment

List the software versions you're using:

  • Quick: 5.0.1
  • Xcode Version: 15.0 (15A240d)
  • Swift Version: Xcode Default

Please also mention which package manager you used and its version. Delete the
other package managers in this list:

  • Swift Package Manager: Xcode Default

Project that demonstrates the issue

QuickAndTestPlans.zip

@macdrevx
Copy link
Author

Also filed with Apple as FB13559082

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant