diff options
author | Bryce Johnson <bryce@gitlab.com> | 2016-11-03 09:57:30 +0000 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-11-03 22:59:46 -0500 |
commit | 06dcb0776eb2160ecff4910b9459f31ca6368507 (patch) | |
tree | eb0ec5b67f354cdcfa55019b976aebaf9fe21b2e /doc/development | |
parent | 3a8a7c1251cef4098ffbc54718ba21736c5e2800 (diff) | |
download | gitlab-ce-06dcb0776eb2160ecff4910b9459f31ca6368507.tar.gz |
Add tip for using Chrome to run and debug teaspoon tests.
Diffstat (limited to 'doc/development')
-rw-r--r-- | doc/development/frontend.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/development/frontend.md b/doc/development/frontend.md index ece8f880542..1d7d9127a64 100644 --- a/doc/development/frontend.md +++ b/doc/development/frontend.md @@ -196,6 +196,12 @@ It consists of two subtasks: As long as the fixtures don't change, `rake teaspoon:tests` is sufficient (and saves you some time). +If you need to debug your tests and/or application code while they're +running, navigate to [localhost:3000/teaspoon](http://localhost:3000/teaspoon) +in your browser, open DevTools, and run tests for individual files by clicking +on them. This is also much faster than setting up and running tests from the +command line. + Please note: Not all of the frontend fixtures are generated. Some are still static files. These will not be touched by `rake teaspoon:fixtures`. |