Files
ubicloud/.gitignore
Jeremy Evans f07afc755c Automatically use parallel testing in Rakefile
If a developer runs `rake setup_database[test,1]`, create a
`.auto-parallel-tests` file to let the Rakefile know to use
parallel testing by default.

Create *sspec tasks for every *pspec task.  The *sspec tasks
force serial execution (rspec instead of turbo_tests), and are
useful for debugging parallel testing issues.  The *pspec tasks
force parallel execution, and will fail if the parallel test
databases have not been setup.  The *spec tasks check for the
`.auto-parallel-tests` file, and run in parallel mode if it
is present and has content "1", and in serial mode otherwise.

Fix setup_database to clamp the number of created databases to
6, since the parallel tests are clamped to 6 processes.

To force serial mode always, even when using
`rake setup_database[test,1]`, manually modify the
`.auto-parallel-tests` file to have content other than "1".
2024-10-28 16:32:18 -07:00

31 lines
615 B
Plaintext

/.env.rb
/coverage
/spec/examples.txt
/demo/.env
/var/*
/tmp/*
/.auto-parallel-tests
# Used by rake by
/bin/by
# rhizome/Gemfile is combination of all Gemfiles in subdirectories, so does rhizome/Gemfile.lock
/rhizome/*/Gemfile.lock
# Frontend
/node_modules
# vscode: https://github.com/github/gitignore/blob/4488915eec0b3a45b5c63ead28f286819c0917de/Global/VisualStudioCode.gitignore
/.vscode/*
!/.vscode/settings.json
!/.vscode/tasks.json
!/.vscode/launch.json
!/.vscode/extensions.json
!/.vscode/*.code-snippets
# Local History for Visual Studio Code
/.history/
# Built Visual Studio Code Extensions
/*.vsix