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 tests that check generated output #10

Open
HenningTimm opened this issue Jan 20, 2023 · 0 comments
Open

Add tests that check generated output #10

HenningTimm opened this issue Jan 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@HenningTimm
Copy link
Owner

The current tests only check if the result returned via a --check call is right. In other words, they only assure that valid files pass (with error code 0) and invalid files fail (with error code 1).

To make sure, that tsv files are generated correctly, we need to prepare some expected tsv output files, call the tool in the test, and compare outputs. This can either be done via tempfiles or by adding the option to write to stdout.

@HenningTimm HenningTimm added the enhancement New feature or request label Jan 20, 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