Commit Graph

226 Commits

Author SHA1 Message Date
Michael Youngstrom
0e3b4bade5 Use s3 db cache on devstack 2018-04-20 09:52:57 -04:00
Jeremy Bowman
28d291dce7 TE-2527 Move test and dev dependencies out of base.in 2018-04-18 14:44:31 -04:00
Michael Terry
a34c8c8233 Drop remaining coffee use
This basically commits the transpiled CoffeeScript JS (with minor
cleanup) and removes coffee build support.

A tiny amount of support for xblocks exists, because external users
may have xblocks with coffee. But no coffee in our tree anyway.
2018-04-13 14:10:40 -04:00
Eric Fischer
383d67f879 Fail js tests if dirty package-lock 2018-03-06 11:45:26 -05:00
bmedx
40951a28cf Fixing some violations to assuage pylint and get a bit of overhead 2018-01-24 11:26:43 -05:00
Stuart Young
ee02919ad7 use db cache in jenkins bok choy builds
move migration calculation to reset test-db script
2018-01-10 11:58:27 -05:00
Stuart Young
454e5a3b55 bokchoy option for explicitly running migrations 2017-12-29 08:51:32 -05:00
Jeremy Bowman
1dbdee9c54 Revert "PLAT-1858 Better capture of deprecation warnings" 2017-12-18 21:18:02 -05:00
Jeremy Bowman
b26fe5fd24 PLAT-1858 Better capture of deprecation warnings 2017-12-18 14:59:05 -05:00
Jeremy Bowman
05e7a4d671 PLAT-1830 Allow running any test suite in tox 2017-12-11 15:43:01 -05:00
John Eskew
4bbc3aa37a Turn on deprecation warnings post-Django 1.11 for bokchoy tests. 2017-12-06 16:04:02 -05:00
John Eskew
50ebfaf734 Add -Wd when running pytest to turn on deprecation warnings in Django 1.11 2017-12-05 16:25:56 -05:00
Ned Batchelder
e23e3a0486 Fix a number of unused-import pylint violations 2017-11-21 19:57:06 -05:00
Michael Youngstrom
a6b55c2d17 Remove coverage reports for a11y and bokchoy tests by default 2017-11-13 12:28:07 -05:00
Stu Young
c3ebad65a8 Merge pull request #16401 from edx/estute/disable-capturing-stderr-in-pytest-output
add option to disable capturing stderr in pytest
2017-11-02 11:42:28 -04:00
Stuart Young
77ed0ed46c add option to disable capturing stderr in pytest 2017-11-02 10:33:53 -04:00
bmedx
82cb62d26a syncdb cleanup 2017-11-02 09:51:44 -04:00
John Eskew
c17524d448 Fix saving of common/lib xunit test results. 2017-10-02 14:27:01 -04:00
John Eskew
de887b0dd1 fixup! Remove cache dirs from commonlib testing. 2017-09-29 14:36:58 -04:00
John Eskew
5d1363b428 fixup! Enable tox testing of system and commonlib via paver. Add support for django_version option to support Django 1.8/1.11. 2017-09-29 10:39:51 -04:00
John Eskew
bbae00a480 Enable tox testing of system and commonlib via paver.
Add support for django_version option to support Django 1.8/1.11.
2017-09-29 10:39:51 -04:00
Jeremy Bowman
ca97e946a6 Switch to pytest for unit tests 2017-09-22 16:07:53 -04:00
Jeremy Bowman
1f06604694 PLAT-1710 Support lettuce tests in Docker Devstack 2017-08-16 17:30:18 -04:00
Jeremy Bowman
9e3f35db22 PLAT-1676 Use pytest for bok-choy tests 2017-08-14 11:49:39 -04:00
Jeremy Bowman
309ec0ac86 PLAT-1619 karma and bok-choy Docker Devstack fixes 2017-07-14 16:00:09 -04:00
Jeremy Bowman
353b4c4f67 PLAT-1499 Use appropriate default settings in Docker devstack 2017-07-03 12:04:27 -04:00
Jeremy Bowman
84201666ae PLAT-1597 Fix test mongo cleanup hostname in Docker devstack 2017-06-26 16:37:32 -04:00
Jeremy Bowman
0a3647848e PLAT-1229 Support for JS tests in Docker devstack 2017-06-23 12:27:39 -04:00
Jeremy Bowman
5a6b8cd35b PLAT-1228 Support bok-choy in Docker Devstack 2017-06-22 15:03:12 -04:00
Calen Pennington
fe3f0f54d8 Don't buffer test output into memory 2017-06-08 14:29:42 -04:00
Andy Armstrong
93235d118d Reorder imports using isort (except lms and cms) 2017-05-30 16:04:54 -04:00
Robert Raposa
86637d7f6c Various test fixes. 2017-05-04 15:21:27 -04:00
Andy Armstrong
2e8c68e609 Make tests and coverage work with openedx/features 2017-05-04 09:28:16 -04:00
Ben Patterson
6e5769f279 Fix webpack service location for testing. 2017-05-01 17:09:32 -04:00
Calen Pennington
32491f3c5e Make test settings configurable 2017-04-10 08:51:10 -04:00
bmedx
57459d1e0f Remove debug change 2017-03-02 15:58:30 -05:00
bmedx
6ca739d811 Send emails on completed django-user-tasks
- Creates a new app under cms
- Sends emails asynchronously on completion of any top-level job
- Moves old user task related cms tests to cms_user_tasks
2017-03-01 17:07:42 -05:00
Michael Youngstrom
067348b858 Allow Pa11ycrawler to run against a single url
Utilize scrapy parse

specify custom callback and add port

Getting rid of scrapy parse. A modified crawl will work

remove log

Remove unnecessary input options

Remove extra empty line

version bump v1.5.9

Reduce duplicate code

add in port and simplify further

clean command further

add port to basic command

Bump Pa11yversion to the newest version
2017-02-21 15:53:53 +00:00
Ben Patterson
c0dd2b878f Lettuce-on-Xenial CMS fix. Iterate through a list to avoid quotation string confusion.
Also change some selenium settings (they were not necessary at this time).
2017-02-20 17:22:36 -05:00
Ben Patterson
e7b0c28d57 Fixes for chrome reliability in selenium.
Fix for rendering timing issue. See https://bugs.chromium.org/p/chromedriver/issues/detail?id=1552
2017-02-20 17:22:02 -05:00
Ben Patterson
840efb238c Workaround for intermittent chromedriver hangs upon start. 2017-02-20 17:21:41 -05:00
Ari Rizzitano
c8cc7cc14b [pa11ycrawler] update location of pa11ycrawler ignore rules file (AC-701)
[pa11ycrawler] update location of pa11ycrawler ignore rules file (AC-701)

patch test

temporarily force a pa11ycrawler PR run

remove temp run of pa11ycrawler
2017-01-24 15:23:11 -05:00
Jesse Zoldak
5c1f838dcb Give the bok choy server more time to start up 2016-12-22 16:20:22 -05: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
David
32e7836bd9 Add pa11y_ignore_rules_url to paver pa11ycrawler 2016-09-07 14:46:30 -04:00
Jesse Zoldak
99a7c555ab test_acceptance paver command option fasttest should not recompile sass 2016-08-19 13:21:16 -04:00
David Baumgold
7f60fa5e25 Make data-dir explicit for pa11ycrawler 2016-08-15 15:46:10 -04:00
David Baumgold
18500472c6 Use updated, simplifed version of pa11ycrawler 2016-08-15 14:24:17 -04:00
Calen Pennington
7a51a3052b Use @needs to specify task composition for paver service checks, so that arguments are bundled correctly 2016-08-03 16:13:11 -04:00
Calen Pennington
f3cc7bd588 Mark some side-effecting actions so that they follow the --dry-run paver flag 2016-08-03 16:13:10 -04:00