tests: Refactor testing framework#300
Conversation
Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
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 <[email protected]>
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 <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
lan496
left a comment
There was a problem hiding this comment.
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 <[email protected]>
|
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. |
|
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: