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

Separate unit tests and integration tests #60

Open
jblachly opened this issue Mar 8, 2021 · 2 comments
Open

Separate unit tests and integration tests #60

jblachly opened this issue Mar 8, 2021 · 2 comments
Assignees
Labels

Comments

@jblachly
Copy link
Member

jblachly commented Mar 8, 2021

Rough heuristics:

Uses external file (BAM, etc.) => integration test

@charlesgregory
Copy link
Contributor

@jblachly Do you have a proposed way to do this? Should we run place all integration tests under the test folder? How would this affect coverage metrics?

@jblachly
Copy link
Member Author

well from software eng perspective i may be wrong, but I think it is up to the unit tests to exercise all the lines of code and thereby contribute to the coverage metric; wouldn't worry about how integration tests affect this.

I would make a separate dub package and put it under test/ (currently I have a bunch of random source files there already as a start). You could either do a single dubfile (which requires alternate configuration block for each test program), or separate dubfiles for each, or forget dub and use Makefile possibly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants