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

add subcommand for test #62

Merged
merged 1 commit into from
Dec 13, 2023
Merged

add subcommand for test #62

merged 1 commit into from
Dec 13, 2023

Conversation

seblyng
Copy link
Owner

@seblyng seblyng commented Dec 13, 2023

Add a subcommand to run tests. Accepts the same argument as run for day with the same default.

We should probably change the default for this as well when/if we close this #60 as completed

Closes #61

let reader = cmd!(
"cargo",
"test",
"--color",
Copy link
Owner Author

Choose a reason for hiding this comment

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

Here we actually have to duplicate --color always because the first one gives color to the warnings and possible compile errors etc... And the other one gives color to the output from the tests. So this is intended

@seblyng seblyng requested a review from sivertjoe December 13, 2023 19:59
Copy link
Collaborator

@sivertjoe sivertjoe left a comment

Choose a reason for hiding this comment

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

🤟

@seblyng seblyng merged commit c699cc1 into master Dec 13, 2023
1 check passed
@seblyng seblyng deleted the testrunner branch December 13, 2023 20:50
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.

Run tests
2 participants