Add rspec note to local installation instructions

This note was already present in the README, and it makes sense that we
mention it again in the other place where we recommend running the test
suite.
This commit is contained in:
Javi Martín
2024-08-07 14:32:45 +02:00
parent 9f5f0b3cf4
commit 0a3cabd8c8
2 changed files with 6 additions and 2 deletions

View File

@@ -57,7 +57,9 @@ bin/setup
bin/rake db:dev_seed
```
9. Check everything is fine by running the test suite (beware it might take more than an hour):
9. Check everything is fine by running the test suite
Note: running the whole test suite on your machine might take more than an hour, so it's strongly recommended that you setup a Continuous Integration system in order to run them using parallel jobs every time you open or modify a pull request (if you use GitHub Actions or GitLab CI, this is already configured in `.github/workflows/tests.yml` and `.gitlab-ci.yml`) and only run tests related to your current task while developing on your machine. When you configure the application for the first time, it's recommended that you run at least one test in `spec/models/` and one test in `spec/system/` to check your machine is properly configured to run the tests.
```bash
bin/rspec

View File

@@ -57,7 +57,9 @@ bin/setup
bin/rake db:dev_seed
```
9. Comprueba que todo funciona correctamente lanzando la suite de tests (ten en cuenta que podría tardar más de una hora):
9. Comprueba que todo funciona correctamente lanzando la suite de tests
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.
```bash
bin/rspec