-
Notifications
You must be signed in to change notification settings - Fork 17
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
tests: Refactor tests into unit and functional #589
Conversation
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #589 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 52 52
Lines 2331 2331
Branches 581 581
=========================================
Hits 2331 2331
☔ View full report in Codecov by Sentry. |
Hi before this get merged I wanted to write my two cents. Since we're refactoring we should move all the logic that we have in the tests into a |
Yes, this makes sense, and can then be put into |
I'd say it should be it's own directory, since we exclude tests from coverage, could be |
can you identify what particular logic of our tests you would like to have tests for and create an issue with this? I see that for stuff like |
unit tests and functional tests should be clearly separated. unit tests test functionality of single specific parts of the software. functional tests test use cases that consist of several steps with defined outcomes.
Next step will be creating a directory named
integration
for integration tests. integration tests test the functionality in regard to 3rd party systems. these can be databases or servers, in our case we will start out with the usecase of downloading public datasets and doing basic preprocessing. This should then finally reproduce #517