Skip to content

Conversation

@cormacrelf
Copy link
Contributor

@cormacrelf cormacrelf commented Jan 9, 2026

Adds support for benchmarks, whole modules of tests, doctests.

Fixes #20359 but you will have to update your tooling that generates the JSON to include such runnables, e.g. testMod, doctestOne, benchOne.

TODO

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 9, 2026
I'm about to complete the match statement here with more of the same.
Once you write the exact same code 5 times, it's time for a helper function.
Allows project JSON users  to run a whole module of tests, benchmarks, doctests.
@cormacrelf cormacrelf force-pushed the support-more-runnable-kinds branch from e77a267 to 7657739 Compare January 9, 2026 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

better testing support for rust-project.json

2 participants