Skip to content

Mention cargo test -- --include-ignored in test chapter#2958

Merged
carols10cents merged 1 commit intorust-lang:mainfrom
corneliusroemer:patch-1
Dec 27, 2021
Merged

Mention cargo test -- --include-ignored in test chapter#2958
carols10cents merged 1 commit intorust-lang:mainfrom
corneliusroemer:patch-1

Conversation

@corneliusroemer
Copy link
Copy Markdown
Contributor

I'm working through Excercism's rust track.

By default, all but the first test is ignored.

I was disappointed that the book didn't mention a way to run all tests, not just the ignored.

It turns out a flag exists to run all tests, including the ignored: --include-ignored

I added it to the book in this PR.

Copy link
Copy Markdown
Member

@carols10cents carols10cents left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@carols10cents carols10cents merged commit 649f468 into rust-lang:main Dec 27, 2021
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