chore: use lizardbyte-common in c++#158
Conversation
Switch the test suite to shared helpers from `lizardbyte-common` by enabling and linking `lizardbyte::test_support` in `tests/CMakeLists.txt`. Update `conftest.cpp` to inherit from `lizardbyte::common::testing::BaseTest`, use its argument/platform fixtures, and rely on its output capture flow, then remove the now-redundant local `tests/utils.*` helpers. Also bump the `third-party/lizardbyte-common` submodule to the version that provides this test support.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #158 +/- ##
==========================================
- Coverage 64.14% 63.83% -0.31%
==========================================
Files 5 5
Lines 647 647
Branches 214 214
==========================================
- Hits 415 413 -2
+ Misses 154 153 -1
- Partials 78 81 +3
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Harness.
|
Screenshot ComparisonPR #158 screenshots vs Matrix:
|
| Image | Baseline | PR |
|---|---|---|
tray_icon_initial.png |
||
tray_menu_checkbox_checked.png |
![]() |
![]() |
tray_menu_checkbox_unchecked.png |
![]() |
![]() |
tray_menu_shown.png |
![]() |
![]() |
tray_notification_displayed.png |
![]() |
![]() |
Matrix: macOS
| Image | Baseline | PR |
|---|---|---|
tray_icon_initial.png |
||
tray_menu_checkbox_checked.png |
![]() |
![]() |
tray_menu_checkbox_unchecked.png |
![]() |
![]() |
tray_menu_shown.png |
![]() |
![]() |
tray_notification_displayed.png |
![]() |
![]() |
Refactors `tests/conftest.cpp` to rely on shared behavior from `lizardbyte-common` by removing the custom stdout/stderr capture, `exec()` helper, and related teardown plumbing from `BaseTest`. It also updates the fixture comment to reflect tray-specific helpers and advances the `third-party/lizardbyte-common` submodule to the newer commit.
|








































Description
Use lizardbyte-common helpers.
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage