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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
4fca4b79
Commit
4fca4b79
authored
Mar 19, 2019
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs on running frontend tests
parent
79fd1b7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
doc/development/testing_guide/frontend_testing.md
doc/development/testing_guide/frontend_testing.md
+4
-6
No files found.
doc/development/testing_guide/frontend_testing.md
View file @
4fca4b79
...
...
@@ -228,14 +228,12 @@ See this [section][vue-test].
### Running frontend tests
`rake karma`
runs the frontend-only (JavaScript) tests.
It consists of two subtasks:
For running the frontend tests, you need the following commands:
-
`rake karma:fixtures`
(re-)generates fixtures
-
`
rake karma:tests`
actually executes the tests
-
`rake karma:fixtures`
(re-)generates fixtures
.
-
`
yarn test`
executes the tests.
As long as the fixtures don't change,
`rake karma:tests`
(or
`yarn karma`
)
is sufficient (and saves you some time).
As long as the fixtures don't change,
`yarn test`
is sufficient (and saves you some time).
### Live testing and focused testing
...
...
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