Skip to main content

4 posts tagged with "testing"

View All Tags

assertEqualHTML() in WordPress: Kill Your Brittle HTML Tests

· 5 min read
Victor Jimenez
Software Engineer & AI Agent Builder

WordPress 6.9 added assertEqualHTML(), which removes a whole category of brittle test failures caused by formatting-only HTML differences. I reviewed the implementation and mapped out concrete migration patterns for plugin and theme test suites.

If your test suite has ever failed because of a whitespace difference in rendered HTML, this is for you.

Stop Vibe Coding Your AI Agents: An Engineering-First Approach

· 5 min read
Victor Jimenez
Software Engineer & AI Agent Builder

Agentic AI moves fast. A few lines of code, a powerful LLM, and suddenly an agent is doing something that looks impressive. The rapid iteration is addictive, but it leads to a development style I call "vibe coding" -- tweak a prompt, rerun, and if the output feels right, ship it.

This works for a demo. It is a recipe for disaster in production.