Skip to content

tests: extend Stryker mutation testing to payout modules - #779

Open
AlphaMaleBaDI wants to merge 1 commit into
RevoraOrg:masterfrom
AlphaMaleBaDI:tests/stryker-payout-modules
Open

tests: extend Stryker mutation testing to payout modules#779
AlphaMaleBaDI wants to merge 1 commit into
RevoraOrg:masterfrom
AlphaMaleBaDI:tests/stryker-payout-modules

Conversation

@AlphaMaleBaDI

Copy link
Copy Markdown

Closes #723

Extend the existing Stryker mutation testing configuration to cover distributionEngine, revenueReconciliationService, and payoutDriftDetector. Add a dedicated CI workflow, document baseline mutation scores, and stabilize existing tests required for deterministic mutation runs.

Baseline scores:
distributionEngine: 40.39%
revenueReconciliationService: 54.12%
payoutDriftDetector: 34.92%
Combined: 42.04%

Test infrastructure improvements:

  • Added @stryker-mutator/core and @stryker-mutator/jest-runner
  • Extended stryker.config.json mutate array (append only)
  • Extended jest.stryker.config.js testMatch (append only)
  • Stabilized payoutDriftDetector test assertions for sandbox
  • Fixed timing-sensitive webhookAuth clock skew test with jest.useFakeTimers
  • Added .github/workflows/stryker.yml (PR-only, path-filtered, concurrency 2)
  • Documented baseline in docs/stryker-payout-modules.md

Closes RevoraOrg#723

Extend the existing Stryker mutation testing configuration to cover
distributionEngine, revenueReconciliationService, and payoutDriftDetector.
Add a dedicated CI workflow, document baseline mutation scores, and
stabilize existing tests required for deterministic mutation runs.

Baseline scores:
  distributionEngine:           40.39%
  revenueReconciliationService: 54.12%
  payoutDriftDetector:          34.92%
  Combined:                     42.04%

Test infrastructure improvements:
- Added @stryker-mutator/core and @stryker-mutator/jest-runner
- Extended stryker.config.json mutate array (append only)
- Extended jest.stryker.config.js testMatch (append only)
- Stabilized payoutDriftDetector test assertions for sandbox
- Fixed timing-sensitive webhookAuth clock skew test with jest.useFakeTimers
- Added .github/workflows/stryker.yml (PR-only, path-filtered, concurrency 2)
- Documented baseline in docs/stryker-payout-modules.md
@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@AlphaMaleBaDI Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Mutation testing: introduce Stryker on payout and reconciliation modules

1 participant