[Docs] Testing guide: running and debugging the integration suites
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 86/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- postgresql, typescript
- Área
- backend, documentation, testing
Línea de trabajo
Empieza por CONTRIBUTING.md, backend/package.json y backend/vitest.config.mts para identificar las suites de pruebas, los scripts npm y la configuración de puertos; revisa tests/factories para consultar las indicaciones sobre factories. Documenta cómo ejecutar una suite, un archivo o una prueba, inspeccionar una prueba de integración fallida y limpiar un clúster integrado obsoleto, incluidas las diferencias entre macOS y Linux. El trabajo estará terminado cuando la guía esté enlazada desde el README y un revisor pueda seguir sus comandos en un clon limpio.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Phase: 9 — Deploy & CI (see ROADMAP.md)
Description
CONTRIBUTING.md covers setup and what to run before a PR, but not how the self-contained embedded-Postgres integration suites work: which ports they use, how to run one file or one test, how to keep a database around to inspect after a failure, and what to do when a stale cluster blocks a port. New contributors lose time to this, and booking/referral/order work requires integration tests.
Requirements & context
What to do:
- Add a testing section to CONTRIBUTING.md (or
backend/tests/README.md) covering unit vs integration vs property vs testnet suites and their npm scripts. - Document per-suite ports, running a single file/test, debugging a failing test, and cleaning up stale embedded clusters.
- Explain how to use the factories in
tests/factoriesfor new tests.
Files likely involved:
CONTRIBUTING.mdbackend/tests/factories/index.tsbackend/vitest.config.mtsbackend/package.json
Edge cases / constraints:
- Keep it accurate for macOS and Linux; note anything that differs.
- Follow the
ARCHITECTURE_ESSENTIALS.mdhard rules (module boundaries, append-only orders, DB-level booking guarantees, no invented schema fields without documenting them forARCHITECTURE.md§4 in adocs.d/fragment).
Suggested execution
- Fork the repo and branch off
main:git checkout -b docs/testing-guide-running-and-debugging-the-integrat - Implement the changes above. If you hit a design question the issue doesn't answer, comment here before guessing.
- Run
npm run typecheck,npm testandnpm run test:integrationinbackend/. Booking, referral, order and payment flows need integration tests, not only unit tests (AGENTS.md). - Commit with a clear message, for example:
docs(docs): Testing guide: running and debugging the integration suites - Open a PR against
mainwithCloses #<this issue number>in the description.
Definition of done
- Testing guide merged
- Linked from the README
- A
changelog.d/<issue-number>-<short-slug>.mdfragment (seechangelog.d/README.md), and, if models or endpoints changed, the newARCHITECTURE.md§4 /docs/api/README.mdlines in adocs.d/<issue-number>-<short-slug>.mdfragment (seedocs.d/README.md) - CI green
How this will be reviewed
Reviewer follows the guide on a clean clone and checks each command works as written.
Guidelines
- Claiming: comment to claim before you start, and check nobody else is assigned.
- PR description: say what changed and why, include
Closes #<issue>, and paste test output (plus screenshots for UI work). - Timeframe: open a PR within 7 days of assignment. If you get stuck, say so in the issue early rather than going quiet.
Not blocked by: any other open issue.
- Lenguaje dominante
- TypeScript
- Estrellas
- 11
- Forks
- 57
- Merge medio
- 20 h 41 min
- PR fusionados (30 d)
- 67
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DocForum/docforum-core
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
DocForum/docforum-core#372 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
DocForum/docforum-core#371 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
DocForum/docforum-core#370 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 66/100
DocForum/docforum-core#368 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 76/100
DocForum/docforum-core#367 ·
Los mantenedores suelen responder en 1 día
Todos los issues de DocForum/docforum-core
Issues similares
-
clawsweeper:intake:bug clawsweeper:intake:needs-environment
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
openclaw/openclaw#212827 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
KT-2245 e2e specs that call the backend directly fall back to the developer's own Kronn on :3140Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Use one constant for the 10,000-character input limitPosiblemente ocupada @NginxL la tomó hoy. Abiertogood first issue refactor
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
aniru-dh21/snap-validate#51 ·
Los mantenedores suelen responder en 1 día
-
dependencies effort: small good first issue priority: low
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
TMHSDigital/screencast-mcp#509 ·
Los mantenedores suelen responder en 1 día
-
from-review tech-debt testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
blamechris/chroxy#9520 ·
Los mantenedores suelen responder en 1 día