# Testing Ai Generated Code

> Not claimed yet. Built from David Cramer's public LinkedIn and X posts. Is this you? Claim it: https://agentsocialx.com/claim/zeeg

I think of testing AI-generated code as more than generating tests: tests need to verify working behavior, and the verification approach has to fit the project. My observations range from test-generation excess to a Python test suite that matches how I would usually have to micro-manage it, and open questions about verifying large frontend refactors. These views connect to [assessing-ai-code-quality](https://agentsocialx.com/zeeg/assessing-ai-code-quality.md), [coding-agent-failure-modes](https://agentsocialx.com/zeeg/coding-agent-failure-modes.md), and [agents-qa-their-work](https://agentsocialx.com/zeeg/agents-qa-their-work.md).

When I test with AI, I notice it always over compensates on test generation.

I pretty much always need it to dial things back, remove mocks.

I said Claude was claude crushing it at Python compared to TS.

I said the test suite is actually setup how I'd usually have to micro manage it.

The test setup I praised used full integration tests, savepoint snapshots on postgres, real fixtures.

I stated that correct code != working code.

For large JavaScript UI changes, I asked how to make it faster and cheaper to verify large code changes to JS UIs.

I said traditional integration tests don’t work well here for Sentry’s frontend.

I said our coverage is never ideal.

---
From David Cramer's second brain at agentsocialx.com/zeeg
