Skip to content
All projects

Test automation for an investment fund company's platform

Project write-up

The client is described by industry and scale, without a name. KPI figures are targets agreed with the client after a baseline measurement.

In brief

Problem
Changes to the platform are released rarely because manual regression is expensive, and an error in an order or a valuation has a direct financial impact on the client.
Approach
We automate the highest-risk processes first: placing and settling orders, conversions between funds, and fee calculation.
Goal
Full regression time: from days to hours, target ≤ 8 h; Share of automated regression cases: ≥ 70% of critical paths.

Client context

Non-bank financial institutions (leasing, factoring, investment fund companies, brokerage houses, payment institutions) compete on the speed of decisions and service, while their reporting obligations keep growing. The client is an investment fund management company with an online platform for buying, redeeming, and converting units and for calculating net asset value.

Challenge

Changes to the platform are released rarely because manual regression is expensive, and an error in an order or a valuation has a direct financial impact on the client.

Requirements and constraints

  • MiFID II / MiFIR require transaction reporting, communication record keeping, suitability assessment, and best execution. Data must be complete, consistent over time, and reproducible on request of the regulator. (source)
  • DORA, i.e. Regulation (EU) 2022/2554, enforces ICT risk management, a register of contracts with ICT providers, classification and reporting of major incidents, and regular testing of operational resilience. For the project this means that every new component must have an owner, a dependency map, and a resilience test scenario, and the provider (including us) is entered in the register of information on contractual arrangements. (source)
  • GDPR, i.e. Regulation (EU) 2016/679, requires data minimization, a legal basis for processing, processing agreements, and, for high-risk processing, an impact assessment (DPIA). In practice it rules out copying production data into test environments without anonymization or pseudonymization. (source)
  • Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, and every element delivered with documentation that the client's team can take over.

Approach and architecture

We build automation following the test pyramid: the most tests at the unit and API level, fewer at the interface level, and end-to-end scenarios only for critical business paths. The framework is built as a product (with code reviews, versioning, and documentation) and runs in the CI pipeline from the first sprint, so the development team gets feedback in minutes, not after a week.

We automate the highest-risk processes first: placing and settling orders, conversions between funds, and fee calculation. API tests verify the correctness of amounts and settlement dates on datasets prepared with the operations department, and interface tests cover the key customer paths.

Key elements of the solution:

  • Order API tests with verification of amounts and dates
  • Reference datasets approved by operations
  • UI tests of critical paths
  • A nightly pipeline with a report for the product owner

Team and roles

RoleCountResponsibility
QA lead1organizing the testers' work, test case reviews, defect metrics
Test automation engineer2framework, scripts, CI integration
Test analyst (ISTQB)1designing and running test cases, reporting defects
Product owner and domain experts (client side)as neededpriorities, business decisions, acceptance

Phased schedule

PhaseWeeksDeliverable
1. Regression audit and selection of candidates1–2automation map, cost-benefit analysis
2. Framework build and CI integration3–6framework, pipeline, test code standard
3. Automation of critical paths7–13smoke and regression suites
4. Stabilization and reporting14–17quality dashboard, quarantine of flaky tests
5. Handover and team training18–20documentation, workshops, maintenance plan

Technology stack

Playwright, TypeScript, REST Assured, PostgreSQL, GitHub Actions, Allure.

Risks and how we mitigate them

RiskHow we mitigate it
No test data free of personal dataa synthetic data generator and masking that preserves referential integrity; a ban on copying production into test
Flaky automated teststest quarantine, root cause analysis, stable selectors, and independent data
Unavailable or unstable test environmentsan environment booking schedule, virtualization of external services (mocks), a daily environment smoke test

Measurable goals and KPIs

The values below are targets that we set with the client after a baseline measurement in the first phase.

KPITargetHow it is measured
Full regression timefrom days to hours, target ≤ 8 hsuite run time in CI
Share of automated regression cases≥ 70% of critical pathstest repository
Critical defects found after deployment0 critical defects in the first 30 daysproduction incident log

Lessons learned and good practices

Reference data approved by operations is just as important as the tests themselves. Critical amounts and dates are better verified through the API than through the interface. A flaky test is worse than no test, because it undermines trust in the whole suite.

Why B2B.net

B2B.net S.A. has operated since 2015 and has worked for more than 50 brands, mostly where audit is an everyday matter: in banks, insurance, and critical infrastructure. We are an accredited exam center, so testing methodology is not a claim for us but a working standard. We give a first proposal of specialists within 24 hours, and a team can start within 5 business days.

Acceptance criteria

Every phase ends with a formal acceptance against criteria agreed at the start. In this deployment, acceptance covers: automation map, cost-benefit analysis; framework, pipeline, test code standard; smoke and regression suites; quality dashboard, quarantine of flaky tests; documentation, workshops, maintenance plan. Final acceptance requires a KPI measurement report against the starting point, complete documentation handed over to the client's team, and a list of recommendations for the next stage, with an estimate of the cost and risk of each.

Next step

Have a similar challenge? Write to office@b2bnetwork.pl or call: +48 577 317 312. You will get a first proposal of specialists or a plan for the first step within 24 hours.

What would this look like for you?

Book a 30-minute call. We will prepare a plan for the first weeks and a team matched to your system.

Let's talk

B2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.

More projects: Finance