Case Study

Sustatool

Sustatool helps companies work out how sustainable they are. It guides them through a five-phase process across 14–15 themes aligned with the Sustainable Development Goals. Unlike most WEWIS applications, it runs on a Node.js backend, which opened the door to a different way of testing.

At a glance

  • Client: Departement WEWIS (Flemish Government), via b.ignited
  • Role: Test Automation Architect / QA lead
  • Team: Part of the WEWIS department of around 80 people, with full development teams
  • Application stack: Node.js backend, Vue.js frontend
  • Test stack: Cypress, Apollo Client

The challenge

The goal was testing in a mono-repo, with the tests living next to the application code instead of in a separate repository. The five-phase, multi-theme flow also meant many paths and data combinations to cover.

What I did

  • Designed the test framework and set it up inside the application’s mono-repo
  • Tested every step of the application, using the APIs (through Apollo Client) to set up complex test data before driving the UI with Cypress
  • Coached and evaluated junior test engineers as QA lead

This is the repository behind my Cypress Conf talk, From a Multi-Repo to a Mono-Repo, about the drawbacks and the large benefits of moving tests into a single repository. See Speaking.

What I’m proud of

The test framework itself. It is still my crowning achievement, and it changed the way WEWIS approaches testing its applications.

What I took with me

Never underestimate quality of life when designing a framework. If the framework is pleasant to use, people keep the tests up to date.