Skip to main content

Testing

Browse all articles, tutorials, and guides about Testing

5posts

Posts

AWS
|22 min read

We Tested AWS Emulator: It Blocks More Than Its Docs Say, and Less Than AWS Does

AWS Emulator passed all 40 of our workflow checks and caught two IAM mistakes in our own test code. It also let a user with no policies assume an admin role, ignored permissions boundaries and session policies, and with the default JavaScript SDK settings, one SQS request went to real AWS. Here is what we measured on a throwaway droplet.

DevOps
|18 min read

Your Tenant Isolation Is One Forgotten WHERE Clause Away

Most multi-tenant apps enforce isolation in application code, which means every query is a chance to leak. Postgres row-level security moves the boundary into the database. Here is a working schema, the things that quietly break it, and why the role in your Neon connection string reads every tenant no matter what your policies say.

CI/CD
|15 min read

The 9 Types of API Testing, and Where Each Belongs in Your Pipeline

Telling load testing from stress testing is easy. What shapes delivery is which of the nine run on every pull request, and which only run after a deploy.

Terraform
|11 min read

Experimenting Locally With Terraform, and Re-Running on File Changes

Try Terraform changes without touching shared state: providers that need no account, terraform console, local backends via override files, mock providers, local AWS emulators, and what to do instead of a watch mode when files change.

Networking
|17 min read

How to Simulate a Slow Internet Connection for Testing

Throttle and break the network on purpose: tc netem on Linux, Network Link Conditioner on macOS, Clumsy on Windows, browser DevTools, Toxiproxy for a single service, and three ways to create a connection timeout.