From 0a3cabd8c877afd0b402dbf4d8ab9bb1baa09d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 7 Aug 2024 14:32:45 +0200 Subject: [PATCH] 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. --- docs/en/installation/local_installation.md | 4 +++- docs/es/installation/local_installation.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/en/installation/local_installation.md b/docs/en/installation/local_installation.md index c05aef1aa..f0c4bb43c 100644 --- a/docs/en/installation/local_installation.md +++ b/docs/en/installation/local_installation.md @@ -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 diff --git a/docs/es/installation/local_installation.md b/docs/es/installation/local_installation.md index 4ee3d2093..e8d8f57ac 100644 --- a/docs/es/installation/local_installation.md +++ b/docs/es/installation/local_installation.md @@ -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