DEV Community

Testing

Find those bugs before your users do! 🐛

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
AI Security Testing 101: Prompt Injection and Indirect Prompt Injection

AI Security Testing 101: Prompt Injection and Indirect Prompt Injection

2
Comments 1
10 min read
How to Test MCP Servers for Prompt Injection

How to Test MCP Servers for Prompt Injection

Comments
4 min read
Four ways our code avoids importing Electron, and the one file that imports it at the top and takes ten others with it

Four ways our code avoids importing Electron, and the one file that imports it at the top and takes ten others with it

1
Comments
6 min read
Regression-Test the Docs Prompt: A Fixture Suite and Five Checks Before a Model Drafts Your Handbook

Regression-Test the Docs Prompt: A Fixture Suite and Five Checks Before a Model Drafts Your Handbook

Comments
7 min read
Myth FAQ: A Free Token Allowance Is Not a Budget — Five Probes for Free AI Coding Tiers

Myth FAQ: A Free Token Allowance Is Not a Budget — Five Probes for Free AI Coding Tiers

1
Comments
4 min read
Test the Safety Net First: Mutation-Check Characterization Pins Before a Refactor

Test the Safety Net First: Mutation-Check Characterization Pins Before a Refactor

Comments
5 min read
When the agent calls the failing test "pre-existing" and merges anyway

When the agent calls the failing test "pre-existing" and merges anyway

Comments
3 min read
I let a one-shot Sonnet 5 agent QA a live app. Then I ran our QA tool on the same one.

I let a one-shot Sonnet 5 agent QA a live app. Then I ran our QA tool on the same one.

Comments
3 min read
Test your Node.js fetcher for SSRF in GitHub Actions

Test your Node.js fetcher for SSRF in GitHub Actions

Comments
5 min read
A Token Bucket Is More Than a Counter: 11 Tests for a Python Rate Limiter

A Token Bucket Is More Than a Counter: 11 Tests for a Python Rate Limiter

Comments
5 min read
I gave an LLM a pull request and asked what would break. GitHub history had the answer key.

I gave an LLM a pull request and asked what would break. GitHub history had the answer key.

Comments
5 min read
Token Expiry in Live Stock Watchlists — Deterministic UX and Reconnect Tests

Token Expiry in Live Stock Watchlists — Deterministic UX and Reconnect Tests

Comments
5 min read
Freeze the Clock First: A Nondeterminism Gate for Messy Refactors

Freeze the Clock First: A Nondeterminism Gate for Messy Refactors

Comments
5 min read
Attribute Coverage to Hunks, Not Files: An Ownership Map for Agent Patches

Attribute Coverage to Hunks, Not Files: An Ownership Map for Agent Patches

Comments
6 min read
Attribute Coverage to Hunks, Not Files: An Ownership Map for Agent Patches

Attribute Coverage to Hunks, Not Files: An Ownership Map for Agent Patches

Comments
6 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.