I get asked about API response testing a lot, how should you do it, and where to start. I have a general rule when it comes to testing APIs, and that rule is: “test your code, and your code only”. What do I mean by this? Let me explain:
PHP
Lock a shared test database for parallel test processes
AI coding agents love to run tests in parallel processes. That’s great until multiple processes try to use the same local test database at once. A small file lock can serialize access and stop those Read more…