Commit Graph

70 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
Nimisha Asthagiri
c6954902e3 Create courseware/views folder 2016-05-03 09:02:45 -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
Toby Lawrence
0009d53c53 Adding optimized images in batches [15/19] 2016-01-13 20:38:42 -05:00
Toby Lawrence
451b0a9c66 Revert "Crush down images."
This reverts commit 8402be3b20.
2016-01-13 19:12:13 -05:00
Toby Lawrence
8402be3b20 Crush down images.
Ran these suckers through ImageOptim, which crunched 'em down real nice.
2016-01-13 18:29:00 -05:00
Calen Pennington
9daaa35d8d Shrink images using trimage
common/test/data/xml_dag/static/just_a_test.jpg    | Bin 547 -> 517 bytes
 .../test_microsite/images/background-image.jpg     | Bin 160660 -> 160625 bytes
 .../test_microsite/images/header-logo.png          | Bin 1215 -> 1212 bytes
 docs/en_us/architecture/locator_ubiquity.jpg       | Bin 51876 -> 47455 bytes
 docs/en_us/architecture/presplit.jpg               | Bin 43129 -> 38944 bytes
 docs/en_us/architecture/studio mapping.jpg         | Bin 48247 -> 43786 bytes
 .../enrollment_api/source/_static/homepage-bg.jpg  | Bin 160660 -> 160625 bytes
 docs/en_us/internal/test_pyramid.png               | Bin 24698 -> 17598 bytes
 .../platform_api/source/_static/homepage-bg.jpg    | Bin 160660 -> 160625 bytes
 .../shared/images/Announcement_subscriptions.png   | Bin 43413 -> 15474 bytes
 lms/static/certificates/images/backpack-logo.png   | Bin 2107 -> 1112 bytes
 lms/static/certificates/images/backpack-ui.png     | Bin 76558 -> 54810 bytes
 lms/static/certificates/images/bg-verified.png     | Bin 25152 -> 5169 bytes
 lms/static/certificates/images/demo-sig1.png       | Bin 3852 -> 2099 bytes
 lms/static/certificates/images/demo-sig2.png       | Bin 3695 -> 1990 bytes
 lms/static/certificates/images/demo-sig3.png       | Bin 7315 -> 3721 bytes
 .../certificates/images/demo-user-profile.png      | Bin 61749 -> 40719 bytes
 lms/static/certificates/images/ico-honor.png       | Bin 59443 -> 35743 bytes
 .../certificates/images/ico-mozillaopenbadges.png  | Bin 3638 -> 1870 bytes
 lms/static/certificates/images/ico-verified.png    | Bin 59571 -> 35713 bytes
 lms/static/images/app/google_play_badge_45.png     | Bin 8913 -> 4548 bytes
 lms/static/images/bg-footer-divider.jpg            | Bin 416 -> 390 bytes
 lms/static/images/bg-texture.png                   | Bin 10028 -> 2092 bytes
 lms/static/images/bulk_email/FacebookIcon.png      | Bin 550 -> 333 bytes
 lms/static/images/bulk_email/GooglePlusIcon.png    | Bin 1286 -> 679 bytes
 25 files changed, 0 insertions(+), 0 deletions(-)
2016-01-07 10:48:40 -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
697b487e81 Leave a redirection testing.md file behind 2015-03-06 13:18:05 -05:00
Ned Batchelder
4f6881c871 Change .md file to .rst. 2015-03-06 13:18:04 -05:00
Ned Batchelder
ed2544388a Diff-cover moved 2015-03-04 10:51:38 -05:00
Mayank Jain
70db28bbcf added links to docs pages in overview readme 2015-03-03 16:04:55 +01:00
Ned Batchelder
1b7e8b784a Move internal documentation to the internal documentation directory 2015-02-24 10:55:16 -05:00
Christine Lytwynec
136f8d4efa removing jenkins doc from platform 2015-01-21 14:15:16 -05:00
Christine Lytwynec
7cb26650e4 Updating testing.md for find_fixme 2014-12-10 10:43:16 -05:00
Muhammad Ammar
1be908d29b Correct test file path for bok-choy 2014-10-30 12:23:04 +05:00
Ben Patterson
b8807e8163 Clarify swtiches on paver tasks. 2014-10-16 19:59:15 -04:00
Ben Patterson
4396a3f62d Doc for paver quality switches. 2014-10-16 16:59:14 -04:00
Andy Armstrong
8627fdef32 Support adding students to a cohort via the instructor dashboard.
TNL-163
2014-10-01 09:22:31 -04:00
Ben Patterson
896764c9c2 Merge pull request #5242 from edx/benp/testing-doc
Use new bok_choy file paths in paver examples.
2014-09-16 15:18:03 -04:00
Ben Patterson
fa8dbbe5c9 Use new bok_choy file paths in paver examples. 2014-09-15 17:03:26 -04:00
Nimisha Asthagiri
3a772752de LMS-11286 Paver Bokchoy support for Split; default store set to Split. 2014-09-11 10:48:09 -04:00
Christine Lytwynec
a06d64da79 adding guides for jenkins tests 2014-08-20 10:54:26 -04:00
Julia Hansbrough
f06c99fec6 Update testing.md 2014-08-11 19:39:15 +00:00
Christine Lytwynec
eb3c1ab9a8 removing rake and outdated references to it 2014-08-05 09:54:29 -04:00