zulip/tools/lib
Steve Howell ce55ef6e4f tests: Use streamlined server for api/casper tests.
We now use the `--streamlined` options for `run-dev.py`
when we use `test_server_running` for `test-api` and
`test-js-with-casper` (and its experimental
replacement, `test-js-with-puppeteer`).

This means we don't slow anything down with
processes like thumbor, process_fts_updates, etc.,
which aren't meaningfully exercised by these tests.

We may eventually want some tests to meaningfully
exercise those processes, and when that day comes,
we will need to add an extra argument to
`test_server_running`, probably, but until then,
we just always set `--streamlined` in that codepath.

There is actually a tool called `./tools/test-run-dev`
that we run in CI, and it will use the full mode.
It just doesn't verify much stuff--it mostly polls
the server without testing specific features.

This seems to save about 1s of the startup time on a system I use
(~10.6s -> ~9.7s).
2020-05-01 11:37:09 -07:00
..
__init__.py Extract tools/lib/template_parser.py. 2016-08-01 16:27:50 -07:00
capitalization.py python: Convert function type annotations to Python 3 style. 2020-04-18 20:42:48 -07:00
git-tools.bash tools: Give require_clean_work_tree our nice UI touches. 2020-04-06 17:52:10 -07:00
gitlint-rules.py gitlint-rules: Fix bogus type annotations. 2020-04-19 13:36:58 -07:00
html_branches.py check-templates: Show filename for tokenize errors. 2020-04-24 20:25:54 +00:00
pretty_print.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-24 13:06:54 -07:00
provision_inner.py test_fixtures: Add DB function to write database digest. 2020-04-30 10:46:53 -07:00
provision.py sgrep/semgrep: Updgrade and rename sgrep to semgrep. 2020-05-01 11:01:14 -07:00
sanity_check.py python: Convert function type annotations to Python 3 style. 2020-04-18 20:42:48 -07:00
template_parser.py templates: Use <hr> and <br> consistently. 2020-04-28 17:05:48 -07:00
test_script.py python: Convert function type annotations to Python 3 style. 2020-04-18 20:42:48 -07:00
test_server.py tests: Use streamlined server for api/casper tests. 2020-05-01 11:37:09 -07:00