BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ba446b86
Unverified
Commit
ba446b86
authored
May 03, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Elaborate on the usage of Spring
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
d811004d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
rake_tasks.md
doc/development/rake_tasks.md
+16
-6
No files found.
doc/development/rake_tasks.md
View file @
ba446b86
...
@@ -31,16 +31,26 @@ files it can find, also the ones in `/tmp`
...
@@ -31,16 +31,26 @@ files it can find, also the ones in `/tmp`
To run a single test file you can use:
To run a single test file you can use:
-
`b
undle exec
rspec spec/controllers/commit_controller_spec.rb`
for a rspec test
-
`b
in/
rspec spec/controllers/commit_controller_spec.rb`
for a rspec test
-
`b
undle exec
spinach features/project/issues/milestones.feature`
for a spinach test
-
`b
in/
spinach features/project/issues/milestones.feature`
for a spinach test
To run several tests inside one directory:
To run several tests inside one directory:
-
`b
undle exec
rspec spec/requests/api/`
for the rspec tests if you want to test API only
-
`b
in/
rspec spec/requests/api/`
for the rspec tests if you want to test API only
-
`b
undle exec
spinach features/profile/`
for the spinach tests if you want to test only profile pages
-
`b
in/
spinach features/profile/`
for the spinach tests if you want to test only profile pages
If you want to use
[
Spring
](
https://github.com/rails/spring
)
set
### Speed-up tests, rake tasks, and migrations
`ENABLE_SPRING=1`
in your environment.
[
Spring
](
https://github.com/rails/spring
)
is a Rails application preloader. It
speeds up development by keeping your application running in the background so
you don't need to boot it every time you run a test, rake task or migration.
If you want to use it, you'll need to export the
`ENABLE_SPRING`
environment
variable to
`1`
:
```
export ENABLE_SPRING=1
```
## Compile Frontend Assets
## Compile Frontend Assets
...
...
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