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

feature: tests stanzas produce aliases #11558

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Alizter
Copy link
Collaborator

@Alizter Alizter commented Mar 23, 2025

We add a way to run tests defined in tests stanzas by creating an alias with the same name. The basic idea is that:

(tests
 (names a b))

produces aliases @a and @b that can be run.

This addresses the other part of #10239 not addressed in #11109.

  • changelog
  • docs
  • work out a way to do this for (enabled_if false).

Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter Alizter force-pushed the tests-alias branch 3 times, most recently from 08512ad to a7aa33e Compare April 13, 2025 18:20
Alizter added 2 commits April 13, 2025 20:27
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter Alizter marked this pull request as ready for review April 13, 2025 18:28
@Alizter Alizter requested a review from rgrinberg April 13, 2025 18:28
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

Successfully merging this pull request may close these issues.

2 participants