Cypress Soft Assert
Sometimes a tester wants to check a great many things in a single test. Cypress normally stops at the first failed assertion, so you fix one problem, rerun, and find the next. Cypress Soft Assert lets the test keep going and reports every failure at the end.
At a glance
- Built: August 2026, still maintained
- Role: Author and maintainer
- Stack: TypeScript, Cypress plugin
- Used in: Vlaamse Arbeidsmigratie
- Source: VanBelleKoen/cypress_soft_assert
Why I built it
The VLAMA project needed exactly this: pages and flows with many checks, where seeing the full list of problems in one run was far more useful than fixing them one at a time.
How it works
The plugin catches Cypress’s failure events and stops them from failing the test immediately. At the end of the test it fails the test anyway and reports all the failures it collected.
The hardest part
Timing. The plugin has to catch the error before Cypress fails the test, and getting that right is not easy.
What’s next
More unit tests. I spent too much time troubleshooting and worrying about the timing issue, and a stronger test suite around the plugin would have saved a lot of that.
Why it matters to me
It solves a real problem for testers, and it’s actively used on a real project.