OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Merge remote-tracking branch 'origin/release/12.0' into dev
Oliver Günther97fb8fbf0959
diff --cc docs/development/running-tests/README.mdindex ab6220205d6,a36a079621e..d36be852490--- a/docs/development/running-tests/README.md+++ b/docs/development/running-tests/README.md@@@ -350,28 -348,14 +348,35 @@@ Then you can just use `RAILS_ENV=test .Run all unit and system tests in parallel with `RAILS_ENV=test ./bin/rails parallel:spec`+ #### Running specific tests++ If you want to run specific tests (e.g., only those from the team planner module), you can use this command:++ ```bash+ RAILS_ENV=test bundle exec parallel_rspec -- modules/team_planner/spec+ ```+## Automatically run tests when files are modified++To run tests automatically when a file is modified, you can use [watchexec](watchexec https://github.com/watchexec/watchexec) like this:++```+watchexec --exts rb,erb -- bin/rspec spec/some/path/to/a_particular_spec.rb+```++This command instructs `watchexec` to watch `.rb` and `.erb` files for modifications in the current folder and its subfolders. Whenever a file modification is reported, the command `bin/rspec spec/some/path/to/a_particular_spec.rb` will be executed.++Stop `watchexec` by pressing `Ctrl+C`.++Set an alias to make it easier to call:+```+alias wrspec='watchexec --exts rb,erb -- bin/rspec'++wrspec spec/some/path/to/a_particular_spec.rb+```++To easily change the RSpec examples being run without relaunching `watchexec` every time, you can focus a particular example or example group with `focus: true`, `fit`, `fdescribe`, and `fcontext`. More details available on [RSpec documentation](https://relishapp.com/rspec/rspec-core/docs/filtering/filter-run-when-matching).+## Manual acceptance tests