Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart free
All skills
Code

Write tests

Add tests that would actually have caught the bug.

Use this skill in a chatOpens a new chat with it attached.

What it asks you for

What to testrequired
The module, function, or behaviour.
Level
Cheapest level that can prove it.

What it tells the AI to do

The full instructions, exactly as they run.

Write tests for {{ target }} at the {{ level | default("unit") }} level.

Follow the repository's existing test conventions, location, and runner. Read a
neighbouring test file first; a suite that does not match its neighbours will be
rewritten by the next person.

Test BEHAVIOUR, not implementation. A test that asserts on internal call order
fails on every refactor and catches nothing. Cover the boundary cases the code
actually has: empty, one, many, malformed, and the error path.

Run the suite. Report the command, the result, and any test you could not make
pass, rather than deleting it.
  • code
  • tests
  • coverage
  • tdd

More code skills

  • idapt CodeWork on a real codebase through a paired or cloud computer, including implementation, tests, git, and delivery.
  • Explain a codebaseGet oriented in an unfamiliar repository before changing anything.
  • Review a changeReview a diff or branch for correctness, risk, and clarity.

Run it on your own work

idapt gives this skill your files, 200+ models, and a real computer to work on. Start a chat and it is already attached.

Use Write tests
  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Voice Mode
  • Voice HUD
  • Web Search
  • Image Generation
  • Video Generation
  • Audio Generation
  • Transcription
  • Drive
  • Credentials
  • Sharing
  • Workspaces
  • Tasks
  • Memory
  • Agents
  • Subagents
  • Automations
  • Skills
  • idapt Code
  • Code Execution
  • Computers
  • Computer Use
  • Computer Assist · Soon
  • Cloud Computers
  • Local AI
  • AI Gateway
  • API & SDK
  • CLI
  • MCP
  • Tunnels
  • All features →
  • LLM cost calculator
  • Token counter
  • Context window checker
  • Can I run it
  • Model picker quiz
  • Savings finder
  • Video cost estimator
  • Text to speech cost
  • Transcription cost
  • API endpoint tester
  • All free tools →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Learn
  • Prompts
  • Templates
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • idapt Code
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)
Build a web appBuild a small web app and deploy it to its own idapt subdomain.