convex-test
Generate Deterministic Convex Tests
Convex applications need reliable coverage for data access, authentication, errors, and scheduled work. This skill guides you through focused Vitest tests against an in-memory backend.
Instalar con mi Agente
Copia esta solicitud en tu Agente. Incluye la página canónica del Skill y el manifiesto.
Review the Skillstore skill "convex-test" from https://skillstore.io/skills/get-convex-convex-test.md and its manifest at https://skillstore.io/api/skills/get-convex-convex-test/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Tu Agente debe seguir mostrando su plan y solicitar cualquier confirmación exigida por la política de seguridad.
Recursos legibles por agentes
Usa estos enlaces cuando un agente de IA, crawler o script necesite contexto limpio en vez de leer la página completa.
Pruébalo
Usando "convex-test". Test a task mutation that requires a signed-in user and rejects an empty title.
Resultado esperado:
A Vitest scenario seeds the user, calls the mutation with an identity, checks the created task, and verifies the validation error for an empty title.
Usando "convex-test". Verify that a query returns a user's completed tasks through an index.
Resultado esperado:
A deterministic in-memory scenario seeds completed and open tasks, runs the query, and confirms that only the matching completed tasks appear.
Usando "convex-test". Test a scheduled cleanup that removes expired records.
Resultado esperado:
The test schedules cleanup, completes pending scheduled work, and verifies that expired records are removed while current records remain.
Auditoría de seguridad
SeguroThe skill is a prompt-only guide for writing Convex tests with convex-test and Vitest. No suspicious patterns or harmful intent were found in the 24-line SKILL.md.
Compartir y citar este informe
Comparte el informe de evaluación versionado, la insignia neutral, la tarjeta insertable y las citas. Skillstore presenta evidencias sin decidir si este Skill es seguro.
Copiar enlace del informe
https://skillstore.io/skills/get-convex-convex-test/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportInsignia Markdown
[](https://skillstore.io/skills/get-convex-convex-test?utm_source=security_passport_badge)Insignia HTML
<a href="https://skillstore.io/skills/get-convex-convex-test?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/get-convex-convex-test/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Tarjeta para insertar
<iframe src="https://skillstore.io/embed/skills/get-convex-convex-test.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Citas académicas (APA · BibTeX · CFF)
Cita APA
get-convex. (2026). convex-test security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/get-convex-convex-test/audits/1Cita BibTeX
@techreport{get-convex-get-convex-convex-test-2026,
author = {get-convex},
title = {convex-test security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/get-convex-convex-test/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "convex-test security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "get-convex"
date-released: "2026-09-21"
url: "https://skillstore.io/skills/get-convex-convex-test/audits/1"
identifiers:
- type: other
value: "skillstore:get-convex-convex-test:audit:1"
description: "Skillstore immutable audit report identifier"
Puntuación de Skillstore
Por qué esta puntuación Confianza de la evidencia: MedioLo que puedes crear
Add Backend Coverage
Create focused tests for new Convex queries and mutations before merging application changes.
Verify Access Rules
Exercise authenticated, unauthenticated, and unauthorized paths with controlled test identities.
Stabilize Scheduled Work
Test scheduled functions, error paths, and indexed data access with repeatable in-memory scenarios.
Prueba estos prompts
Write a basic convex-test and Vitest test for my Convex mutation. Cover valid arguments, the returned value, and one seeded record.
Create tests for this Convex function with authenticated and unauthenticated identities. Verify the expected result and error behavior for each path.
Build deterministic tests for this Convex query using seeded in-memory data. Check its index filtering, ordering, empty result, and returned fields.
Design a complete convex-test suite for this scheduled Convex workflow. Cover setup, scheduling, pending work completion, error paths, and final database state.
Mejores prácticas
- Use the in-memory convex-test backend instead of a live deployment.
- Cover authentication, error paths, and successful paths.
- Keep seeded data, identities, and time-dependent behavior deterministic.
Evitar
- Do not test only the successful path.
- Do not depend on real network calls or live deployment state.
- Do not leave scheduled work unfinished when asserting final state.
Preguntas frecuentes
What does this skill test?
Which test tools does it use?
Does it require a live Convex deployment?
Can it test authentication?
Can it test scheduled functions?
How should tests remain reliable?
Detalles del desarrollador
Autor
get-convexLicencia
MIT
Revisión de Skillstore
r1
Aviso de versión
El autor no declaró una versión.
Repositorio
https://github.com/get-convex/agent-skills/tree/0aa10576821c6928f6a0f498c087af4ee231536e/skills/convex-testRef.
0105ed4377e5f5985bd39b291028f5faeb43cbf2
Actualidad del mantenimiento
21/9/2026
Uso
0 descargas · 0 vistas
Estructura de archivos
📄 SKILL.md