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

Better data-driven integration test runner #34

Open
Tracked by #31
ahdinosaur opened this issue Sep 4, 2023 · 0 comments
Open
Tracked by #31

Better data-driven integration test runner #34

ahdinosaur opened this issue Sep 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ahdinosaur
Copy link
Owner

ahdinosaur commented Sep 4, 2023

Describe the solution you'd like

If the data-driven integration tests fail, we should know exactly which test case caused the failure.

At the moment, one #[test] runs multiple data tests, so it's hard to know what exactly went wrong.

We should improve this somewhat.

Design inspiration

  • JSON-e uses a build.rs to build a test file based on their spec data. At first I was resistant, but maybe that is the best approach.

Describe alternatives you've considered

The alternative is we write a re-usable test macro. Myabe that's better.

Additional context

@ahdinosaur ahdinosaur mentioned this issue Sep 4, 2023
17 tasks
@ahdinosaur ahdinosaur added the enhancement New feature or request label Sep 15, 2023
@ahdinosaur ahdinosaur changed the title better data-driven integration test runner Better data-driven integration test runner Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant