diff options
author | Winnie <gitlab@winniehell.de> | 2016-10-27 16:15:54 +0300 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2016-10-28 15:02:17 +0300 |
commit | cd3c8e9b1279dce29c5283b54d9b3305be73110f (patch) | |
tree | d9e5ce24294826d9964435d547d4310a894f5cbc /doc/development/frontend.md | |
parent | 0f060bf4fccc3119dc4b7d6e296c2f0fc994bb4e (diff) |
Document how to run frontend tests
Diffstat (limited to 'doc/development/frontend.md')
-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]. |