Skip to content

test(isb): improve shortcut button mutation coverage - #7

Merged
Pissaro007 merged 23 commits into
quality/mull-mutation-testing-pocfrom
quality/mull-shortcut-button-interface-pr
Aug 14, 2026
Merged

Pissaro007 merged 23 commits into
quality/mull-mutation-testing-pocfrom
quality/mull-shortcut-button-interface-pr

Conversation

@Pissaro007

Copy link
Copy Markdown
Owner

Summary

This pull request enriches the existing ISB shortcut button tests to improve mutation coverage for isobus_shortcut_button_interface.cpp.

Changes

  • Enriched IsobusShortcutButtonTest.ShortcutButtonTxTests.
  • Killed the line 67 cxx_eq_to_ne mutant.
  • Killed the line 140 cxx_post_inc_to_post_dec mutant.
  • Enriched IsobusShortcutButtonTest.ShortcutButtonRxTests.
  • Killed the line 197 cxx_eq_to_ne mutant.
  • Preserved the existing production code and GoogleTest declarations.
  • Excluded the experimental mutation-testing workflows from this PR.

Results

  • Initial mutation score: 77%
  • Final raw mutation score: 94%
  • Killed mutants: 17/18
  • Remaining mutant: line 179 cxx_lt_to_le
  • The remaining mutant is considered likely equivalent.
  • Adjusted mutation score: 100%

Validation

  • Targeted ISB Rx and Tx tests pass.
  • The complete unit test suite passes.
  • Mull confirms that the mutants on lines 67, 140 and 197 are killed.
    `

Added a second rerun comment to the workflow file.
@Pissaro007
Pissaro007 merged commit 4f41224 into quality/mull-mutation-testing-poc Aug 14, 2026
10 checks passed
@Pissaro007
Pissaro007 deleted the quality/mull-shortcut-button-interface-pr branch August 14, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant