zulip/frontend_tests
Tomasz Kolek dbeab6aa6f Optimize checks of test database state by moving into Python.
Previously, the generate-fixtures shell script by called into Django
multiple times in order to check whether the database was in a
reasonable state.  Since there's a lot of overhead to starting up
Django, this resulted in `test-backend` and `test-js-with-casper`
being quite slow to run a single small test (2.8s or so) even on my
very fast laptop.

We fix this is by moving the checks into a new Python library, so that
we can avoid paying the Django startup overhead 3 times unnecessarily.
The result saves about 1.2s (~40%) from the time required to run a
single backend test.

Fixes #1221.
2016-10-05 10:40:19 -07:00
..
casper_lib casper: Use local_id check to ensure messages are actually sent. 2016-10-03 09:27:22 -07:00
casper_tests casper: Use local_id check to ensure messages are actually sent. 2016-10-03 09:27:22 -07:00
casperjs Use universal_newlines=True in subprocess.check_output. 2016-07-26 12:06:41 -07:00
node_tests zjsunit: Fix running stream_data and node tests individually. 2016-10-04 18:38:17 -07:00
zjsunit Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
run-casper Optimize checks of test database state by moving into Python. 2016-10-05 10:40:19 -07:00