Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
62614a52
Commit
62614a52
authored
Apr 25, 2021
by
Unika Laset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update fail_fast_testing.md by removing future tense that Vale identified
parent
39ed60a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
doc/user/project/merge_requests/fail_fast_testing.md
doc/user/project/merge_requests/fail_fast_testing.md
+5
-5
No files found.
doc/user/project/merge_requests/fail_fast_testing.md
View file @
62614a52
...
...
@@ -49,7 +49,7 @@ This template requires:
## Configuring Fast RSpec Failure
We
'll
use the following plain RSpec configuration as a starting point. It installs all the
We use the following plain RSpec configuration as a starting point. It installs all the
project gems and executes
`rspec`
, on merge request pipelines only.
```
yaml
...
...
@@ -86,13 +86,13 @@ For illustrative purposes, let's say our Rails app spec suite consists of 100 sp
If no Ruby files are changed:
-
`rspec-rails-modified-paths-specs`
will
not run any tests.
-
`rspec-complete`
will run
the full suite of 1000 tests.
-
`rspec-rails-modified-paths-specs`
does
not run any tests.
-
`rspec-complete`
runs
the full suite of 1000 tests.
If one Ruby model is changed, for example
`app/models/example.rb`
, then
`rspec-rails-modified-paths-specs`
will run
the 100 tests for
`example.rb`
:
runs
the 100 tests for
`example.rb`
:
-
If all of these 100 tests pass, then the full
`rspec-complete`
suite of 1000 tests is allowed to run.
-
If any of these 100 tests fail, they
will fail quickly, and
`rspec-complete`
will
not run any tests.
-
If any of these 100 tests fail, they
fail quickly, and
`rspec-complete`
does
not run any tests.
The final case saves resources and time as the full 1000 test suite does not run.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment