---
title: Convex Test Skill for Claude Code
canonical: https://skillselion.com/skills/convex/agent-skills/convex-test
content_type: text/markdown
description: "convex-test by convex - Generate convex-test tests for the app's Convex functions."
---

# Convex Test Skill

Title: Convex Test Skill for Claude Code

> convex-test by convex - Generate convex-test tests for the app's Convex functions.

Canonical: https://skillselion.com/skills/convex/agent-skills/convex-test

Generate convex-test tests for the app's Convex functions.

## Key facts

- Installs: 49,731
- GitHub stars: 69
- Author: convex
- Repository: convex/agent-skills
- Works in Grok Bot: yes
- Install command: `npx skills add https://github.com/convex/agent-skills --skill convex-test`
- Last updated: November 30, 2026

## What Convex Test does

Use convex-test in a coding agent to apply its workflow on a real project.

- convex-test

## SKILL.md

<!-- GENERATED from convex-agents content/capabilities/test.json  -  do not edit by hand. -->

## Generate Convex tests

Use convex-test + vitest to test functions against an in-memory backend: args/returns, auth paths, indexes, and scheduled functions.

### Workflow

1. Install convex-test + vitest.
2. Write tests using convexTest(schema): seed via t.run, call t.query/t.mutation, assert.
3. Cover auth (withIdentity), error paths, and scheduled functions (t.finishInProgressScheduledFunctions).
4. Run vitest; keep tests deterministic.

### Rules

- Use convex-test (in-memory), not a live deployment.
- Cover auth + error paths, not just the happy path.
- Keep tests deterministic (no real time/network).

## Convex Test FAQ

### Is Convex Test safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

## Machine access

- [Sitemap](https://skillselion.com/sitemap.xml)
- [llms.txt](https://skillselion.com/llms.txt)
- [llms-full.txt](https://skillselion.com/llms-full.txt)
- [Developer resources](https://skillselion.com/developers)
- [OpenAPI spec](https://skillselion.com/openapi.json)
- [MCP handshake](https://skillselion.com/.well-known/mcp)
- [API catalog](https://skillselion.com/.well-known/api-catalog)
- [AI catalog](https://skillselion.com/.well-known/ai-catalog.json)
- [Pricing](https://skillselion.com/pricing.md)
- [Auth](https://skillselion.com/auth.md)
- [AGENTS.md](https://skillselion.com/AGENTS.md)
- [Contact](https://skillselion.com/contact)
- [Home](https://skillselion.com/)
