Putting a consumer lender’s pricing rules under automated test
A consumer lender whose online application and loan servicing platform changes often as products, pricing rules and regulations evolve.
- Challenge
- Fee and repayment calculations change with most product updates, and mistakes in them still reach borrowers despite a lengthy round of hand testing before each release. The browser test suite is slow and fails at random, so its failures are usually waved through.
- Approach
- 1Map the riskiest rules with product, risk and compliance leads, and agree on which calculations must never break
- 2Move most coverage to API and contract tests, keeping a short list of end-to-end checks for the application flow
- 3Quarantine flaky tests and fix their causes: shared data, timing assumptions and environment drift
- 4Generate synthetic applicant data for edge cases, so testing never needs real customer records
- 5Make the suites a required gate on every pull request and release
- Outcome
- Pricing and repayment rules are checked on every pull request, a failed build names the rule or integration at fault, and each change to lending rules ships with evidence that the calculations still hold.
Services involved





