Add a note regarding CI when running the tests

Many developers run `bin/rspec` and then are (reasonably) confused when
running the tests takes too long.

So we're clarifying that running the whole test suite should be done
using a CI, and only relevant tests should be run while developing on
your machine.
This commit is contained in:
Javi Martín
2024-06-07 20:17:03 +02:00
parent 3aa75d62c4
commit 16008b5788
2 changed files with 5 additions and 1 deletions

View File

@@ -55,6 +55,8 @@ Para ejecutar los tests:
bin/rspec
```
Nota: ejecutar todos los tests en tu máquina puede tardar más de una hora, por lo que recomendamos encarecidamente que configures un sistema de Integración Continua para ejecutarlos utilizando varios trabajos en paralelo cada vez que abras o modifiques una PR (si usas GitHub Actions o GitLab CI, esto ya está configurado en `.github/workflows/tests.yml` y `.gitlab-ci.yml`) y cuando trabajes en tu máquina ejecutes solamente los tests relacionados con tu desarrollo actual. Al configurar la aplicación por primera vez, recomendamos que ejecutes al menos un test en `spec/models/` y un test en `spec/system/` para comprobar que tu máquina está configurada para ejecutar los tests correctamente.
Puedes usar el usuario administrador por defecto del fichero seeds:
**user:** admin@consul.dev