get-convex/agent-skills1 file

Convex Test

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

Specification
Skill ID
get-convex/agent-skills/convex-test
Publisher
get-convex
Repository
agent-skills
Installs
362
Files
1
Synced
Oct 7, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

get-convex/agent-skills/convex-testInstalls these files
  • SKILL.md

What this skill tells the agent

<!-- 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).

Use this skill in a project

Open any RiverX project, search the Skills panel for get-convex/agent-skills/convex-test, and install it in one click.

Use this skill