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 Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
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>
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 <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. |
|
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: