Home/Matteo Vaccari
Author

Matteo Vaccari

2 articles by Matteo Vaccari.

Frontend — Test-Driving HTML Templates

Test-Driving HTML Templates

When building a server-side rendered web application, it is valuable to test the HTML that's generated through templates. While these can be tested through end-to-end tests running in the browser, such tests are slow and more work to maintain than unit tests. Unit tests, written in the server-side environment, can check for valid HTML, and extract elements with CSS selectors to test the details of

MVMatteo Vaccari·June 5, 2024Frontend
Engineering — Demo Front-End

Demo Front-End

Have you ever attended a “demo” where developers were proudly showing screen after screen of JSON output from their API, while users were confused and distracted, unable to make any sense of it? Have you ever tried to use an API in development, and been frustrated by how difficult it is to find the correct JSON payload and header incantations to be able to test a feature? A Demo Front-End is a sim

MVMatteo Vaccari·August 23, 2023Engineering