diff --git a/README.md b/README.md index ebafaf35d..66fcafadb 100644 --- a/README.md +++ b/README.md @@ -50,12 +50,14 @@ Run the app locally: bin/rails s ``` -Run the tests with: +You can run the tests with: ```bash bin/rspec ``` +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. + You can use the default admin user from the seeds file: **user:** admin@consul.dev diff --git a/README_ES.md b/README_ES.md index 71b11dd6c..49e148db7 100644 --- a/README_ES.md +++ b/README_ES.md @@ -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