
Testing Vue Components with Vue Test Utils
How to test Vue components with Vue Test Utils using realistic interactions, focused assertions, better test boundaries, and less brittle design.
Articles
Testing is the work of checking behaviour before users do it for us in production. That includes unit tests, component tests, integration tests, end‑to‑end flows, and the judgement to choose the lightest test that still catches the real risk. The articles in this category cover pragmatic testing across tools such as Jest, Testing Library, Cypress, and framework‑specific approaches where they genuinely improve confidence.
Below you will find a subset of articles from my blog specifically about Testing. Although this is a topic I've been working with for many years, it's fair to say that I've not written about it often. I've only managed to publish five articles about it, which you can see and read below.

How to test Vue components with Vue Test Utils using realistic interactions, focused assertions, better test boundaries, and less brittle design.

How to write effective Angular unit tests that focus on behaviour, TestBed boundaries, realistic setup, and assertions that survive refactoring over time.

Test JSX‑driven content in Cypress by comparing rendered output, extracting text, handling order, avoiding brittle assumptions, and respecting performance.

Explore LeetCode's 'Add Two Numbers' problem: adding numbers represented as linked lists. Dive into the challenge, TypeScript solution, and its significance.

NaNNaN is an unusual concept in JavaScript, especially for developers newer to the language. As a result, testing for it can be more complex than first expected.