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

Place multiple test cases under a single crate #6

Closed
eupn opened this issue Oct 29, 2019 · 0 comments · Fixed by #25
Closed

Place multiple test cases under a single crate #6

eupn opened this issue Oct 29, 2019 · 0 comments · Fixed by #25
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@eupn
Copy link
Owner

eupn commented Oct 29, 2019

Otherwise, in the case of proc-macros, we have to recompile the entire crate for each test case. This is really hurting test performance.

We should place each test case as a [[bin]] section in temporary crate's Cargo.toml and pass the --bin argument to the cargo expand for each corresponding test case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant