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

API and associated Runner logic for performing multiple repetitions of a test #37

Open
stmontgomery opened this issue Sep 28, 2023 · 3 comments
Labels
enhancement New feature or request public-api Affects public API tools integration Integration of swift-testing into tools/IDEs

Comments

@stmontgomery
Copy link
Contributor

stmontgomery commented Sep 28, 2023

Description

This tracks making it possible to repeat a test in swift-testing multiple times. I imagine it would be best expressed as a Trait type, and would require associated logic in the Runner and Event subsystems.

rdar://92412320

@stmontgomery stmontgomery added the enhancement New feature or request label Sep 28, 2023
@grynspan
Copy link
Contributor

We had toyed with this before we shared the repo publicly. I think we ran into trouble because it wasn't clear what the fine semantics of a .repeating(n) trait would be.

@grynspan
Copy link
Contributor

I think we've landed this as tools SPI?

@grynspan grynspan added tools integration Integration of swift-testing into tools/IDEs public-api Affects public API labels Feb 26, 2024
@stmontgomery
Copy link
Contributor Author

I think we've landed this as tools SPI?

This issue is tracking adding that ability on a per-test or -suite level, likely via a trait

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request public-api Affects public API tools integration Integration of swift-testing into tools/IDEs
Projects
None yet
Development

No branches or pull requests

2 participants