diff options
author | Winnie <gitlab@winniehell.de> | 2016-10-27 13:15:54 +0000 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2016-10-28 14:02:17 +0200 |
commit | cd3c8e9b1279dce29c5283b54d9b3305be73110f (patch) | |
tree | d9e5ce24294826d9964435d547d4310a894f5cbc /doc | |
parent | 0f060bf4fccc3119dc4b7d6e296c2f0fc994bb4e (diff) | |
download | gitlab-ce-cd3c8e9b1279dce29c5283b54d9b3305be73110f.tar.gz |
Document how to run frontend tests
Diffstat (limited to 'doc')
-rw-r--r-- | doc/development/frontend.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/development/frontend.md b/doc/development/frontend.md index 56c8516508e..4fb56444917 100644 --- a/doc/development/frontend.md +++ b/doc/development/frontend.md @@ -185,6 +185,20 @@ again in the future. See [the Testing Standards and Style Guidelines](testing.md) for more information. +### Running frontend tests + +`rake teaspoon` runs the frontend-only (JavaScript) tests. +It consists of two subtasks: + +- `rake teaspoon:fixtures` (re-)generates fixtures +- `rake teaspoon:tests` actually executes the tests + +As long as the fixtures don't change, `rake teaspoon:tests` is sufficient +(and saves you some time). + +Please note: Not all of the frontend fixtures are generated. Some are still static +files. These will not be touched by `rake teaspoon:fixtures`. + ## Supported browsers For our currently-supported browsers, see our [requirements][requirements]. |