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 testing framework #300
Conversation
Signed-off-by: Cristian Le <git@lecris.dev>
Signed-off-by: Cristian Le <git@lecris.dev>
Signed-off-by: Cristian Le <git@lecris.dev>
This is to compy with the guidelines in https://google.github.io/googletest/faq.html#why-should-test-suite-names-and-test-names-not-contain-underscore Signed-off-by: Cristian Le <git@lecris.dev>
Codecov ReportPatch coverage has no change and project coverage change:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## develop #300 +/- ##
===========================================
- Coverage 86.09% 86.07% -0.02%
===========================================
Files 23 23
Lines 6069 6069
===========================================
- Hits 5225 5224 -1
- Misses 844 845 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Cristian Le <git@lecris.dev>
Signed-off-by: Cristian Le <git@lecris.dev>
Signed-off-by: Cristian Le <git@lecris.dev>
Signed-off-by: Cristian Le <git@lecris.dev>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain the difference between test/functional
and test/unit
?
I wrote it in another PR, but: Unit/integration/functional testunit test
functional test
integration test (yes, there's one more technically)
So in this case, because most of the tests are calling through
There are edge-cases like |
Signed-off-by: Cristian Le <git@lecris.dev>
Thanks for your explanation. I confused the distinction between |
@atztogo LGTM. Do you have any comment? This PR touches a lot of files, so I think it is necessary to consult on you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but this PR only moves and renames things so it's not effecting anything atm. #303 is where things start changing |
This PR simply moves the tests around to either
unit_tests
,integration_tests
(currently none) orfunctional_tests
.TODO: