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

Improve testing framework #3

Open
leoisl opened this issue Apr 7, 2020 · 0 comments
Open

Improve testing framework #3

leoisl opened this issue Apr 7, 2020 · 0 comments

Comments

@leoisl
Copy link

leoisl commented Apr 7, 2020

This is the test coverage report from PR #1, which adds more tests to BIGSI, sorted by source file with lowest test coverage to highest:
Coverage report.pdf
We should improve the test coverage in many files.

I wonder if you think that the tests are cumbersome to run, due to using real DBs. One option would be to mock the DBs, but it is nice to have tests using real DBs also. I see that many of the tests are actually integration tests, as they test not only the function/method being tested, but all the other functions and methods called by the tested function/method. I could start adding unit testing with mocking if you wish, although it seems that integration tests might be more complete, but less specific, than unit testing.

Anyway, this issue is more like a discussion issue to talk about how we should improve the testing framework.

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

No branches or pull requests

1 participant