Tag

Testing

7 articles tagged with Testing.

Front end

Tailwind CSS 3 to 4: what the upgrade tool does not catch

Twelve differences found by comparing a site pixel by pixel before and after moving to Tailwind CSS 4: borders, line heights, cascade layers, table cells, stacking, colours.

6 min read

Testing

Moving a blog from Gatsby to Astro without a regression

How this blog moved from Gatsby to Astro with the same URLs, HTML and behaviour, and how we proved it: an HTML oracle, pixel diffs and interaction tests on both builds.

6 min read

Testing

End-to-end tests of a distributed .NET app with Aspire.Hosting.Testing

Learn how to run Gherkin scenarios against your real Aspire graph, gateway, identity server and RabbitMQ included, in a couple of minutes and without a browser.

8 min read

Security

An audit log that can't lie: building one in ASP.NET Core with the outbox

Learn how to build an ASP.NET Core audit log that records a change if and only if it committed, and an architecture test that keeps it complete as the product grows.

8 min read

Testing

Visual review for an Angular app: a Playwright gallery of every page

Learn how to build a Playwright gallery that photographs every route of an Angular app, in both themes and three widths, so a human can review the layout unit tests never see.

7 min read

Testing

Testing EF Core repositories on a real PostgreSQL with Testcontainers

Learn how to test EF Core repositories against a real PostgreSQL started by Testcontainers, with the real migrations and one DbContext each to arrange, act and assert.

7 min read

Architecture

Architecture tests that fail the build: keeping a .NET solution honest

Learn how to turn the boundaries of a .NET solution into tests that read the compiled assemblies, so that a wrong reference fails the build instead of a code review.

7 min read