Commit Graph

29 Commits

Author SHA1 Message Date
Jesse Zoldak
ac1e4643a0 Add enable-migrations parameter for python unit tests 2016-10-17 15:59:44 -04:00
Jesse Zoldak
4465373177 Disable migrations by default in unittests
Rendering model states when running migrate in Django 1.8 consumes
on the order of 4x-6x more memory than <1.8.

References:
* https://code.djangoproject.com/ticket/24745
* https://code.djangoproject.com/ticket/24743

This is causing failures in Jenkins as the workers run out of memory
and either processes cannot fork or the Out Of Memory Killer
kills a process that is running tests.

Disabling migrations until we do either or both of these:
* Upgrade to Django 1.9 and turn them back on. See EV-92 "Discovery: Upgrade edx-platform to Django 1.9"
* Address TE-1310 "Unit tests should be able to run without migrations"
2016-10-12 14:02:19 -04:00
Jesse Zoldak
99a7c555ab test_acceptance paver command option fasttest should not recompile sass 2016-08-19 13:21:16 -04:00
Brian Jacobel
9e67f15306 Update docs 2016-08-02 13:59:30 -04:00
Brian Jacobel
940f6e992d Document how to run tests on Paver scripts
Meta.
2016-07-25 15:20:58 -04:00
Calen Pennington
b839b048ee Clean up documentation about test concurrency 2016-06-20 08:30:23 -04:00
Calen Pennington
e60114c716 Add paver arguments to control concurrency and randomization 2016-05-18 14:39:00 -04:00
Brian Jacobel
df32d2a130 Path update for Karma debug runner 2016-05-04 10:34:59 -04:00
Brian Jacobel
1d49dd9d49 JS tests no longer use js-test-tool 2016-05-04 10:28:38 -04:00
Chris Rodriguez
e42520194c Adding i18n info 2016-04-08 13:28:44 -04:00
Adam Palay
82aad56e62 fix typo on testing.rst page 2016-03-22 10:25:01 -04:00
Renzo Lucioni
8637198578 Document use of --disable-migrations flag 2016-02-29 14:00:25 -05:00
Kevin Falcone
21b75f83aa Copy this doc up from the bok_choy tests.
It's just as relevant to unit tests and I wish I had seen it earlier.

Stress the transient nature of this debugging step.
2016-02-12 10:27:03 -05:00
Christine Lytwynec
5e1bbef3ad remove outdated references to specific .coveragerc files in docs 2015-12-14 09:22:52 -05:00
Ben Patterson
c41b67f503 Add documentation. 2015-12-01 14:38:16 -05:00
Christine Lytwynec
468864a314 add paver test_a11y and a11y_coverage commands 2015-11-05 13:55:35 -05:00
Andy Armstrong
cd3f8ded2b Fix typo 2015-11-03 18:46:42 -05:00
Ben Patterson
c009035806 Fix formatting. 2015-11-03 13:08:44 -05:00
Ben Patterson
343d285651 Improve documentation for bok-choy.
Includes info about the serversonly/testsonly pattern, as well
as multiprocessing.
2015-11-03 12:15:13 -05:00
Vedran Karačić
731d8a4e68 Changed command description texts to be sentences 2015-11-02 18:25:20 +00:00
Christine Lytwynec
b887280a96 update testing.rst 2015-10-20 14:24:51 -04:00
Andy Armstrong
421a9cc0ea Add details about debugging Jasmine tests 2015-10-08 13:52:39 -04:00
Christine Lytwynec
5e1ba5897c Update testing.rst with info about bok choy accessibility tests 2015-07-29 11:44:15 -04:00
Daniel Friedman
d87a0f146b Update docs for testing common requirejs tests 2015-07-02 14:12:32 -04:00
Utkarsh
7d33892284 Update testing.rst 2015-06-09 10:43:46 -04:00
Utkarsh
00970a0f5a Update testing.rst
Adding information about paver
2015-06-09 10:02:49 -04:00
Ben Patterson
aebb35d361 Use jshint in paver, include in builds.
JShint will be executed with paver run_jshint, which will use a defined set of
directories (likewise defined are directories to ignore). A limit can be imposed
on the total number of violations. Note that this change does NOT include adding
jshint to diff-quality or `paver run_quality`.
2015-05-22 16:06:13 -04:00
David Baumgold
6af95ae828 Enable --pdb debugging
This allows developers to pass the `--pdb` flag to paver test commands,
and that flag will be proxied to the `nosetests` command. It's useful
for debugging purposes.
2015-04-16 17:04:59 -04:00
Ned Batchelder
4f6881c871 Change .md file to .rst. 2015-03-06 13:18:04 -05:00