Commit a04a451f authored by Alfredo Sumaran's avatar Alfredo Sumaran

Merge branch 'patch-9' into 'master'

Add tip for using Chrome to run and debug teaspoon tests.

## What does this MR do?

Documents the approach I use when writing and debugging frontend tests, which is (IMHO) much better than running locally from the command line.

See merge request !7257
parents b0f89867 06dcb077
......@@ -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`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment