Commit Graph

298 Commits

Author SHA1 Message Date
Calen Pennington
206cedf55e Deprecate extra_args in favor of just passing through all unknown options 2016-06-27 15:19:50 -04:00
Calen Pennington
c279eb1c03 Add a new Task subclass that will pass through unknown options as the unknown_options argument 2016-06-27 15:06:53 -04:00
Calen Pennington
c2fc945892 Convert verbosity number into an integer 2016-06-20 08:30:23 -04:00
Calen Pennington
08fd3ac57c Enable multiprocess tests on LMS tests in jenkins 2016-06-20 08:30:22 -04:00
Jesse Zoldak
56e6f04cc7 Merge pull request #12736 from edx/zoldak/fix-docstring
Fix a docstring to reflect what the method actually does
2016-06-14 12:49:04 -04:00
Ben Patterson
6ccf7cf6fb Disable parallelization for lms unit tests. 2016-06-13 15:05:51 -04:00
Jesse Zoldak
864130c6e4 Fix a docstring to reflect what the method actually does 2016-06-13 14:42:15 -04:00
Calen Pennington
98bf9f9dea Enable concurrency (but not randomization) in LMS unit tests 2016-06-09 13:14:36 -04:00
Calen Pennington
2afc9e8c16 Don't use the --processes argument at all of processes=0 2016-06-09 12:04:18 -04:00
Calen Pennington
7ca92f255a Enable randomization (but not concurrency) in LMS unit tests 2016-06-09 12:04:18 -04:00
Waheed Ahmed
b2f21ef4f3 Complete Order History tab for students on account settings page.
ECOM-2361
2016-06-08 21:45:07 +05:00
Calen Pennington
548985803b Disable concurrency in tests while we work out the kinks 2016-05-19 16:56:24 -04:00
Calen Pennington
2aa9967189 Merge pull request #12386 from cpennington/cale/concurrent-unit-tests
[EV-12] Run LMS unit tests concurrently on jenkins
2016-05-19 14:25:24 -04:00
Diana Huang
1162dbc18f Enable VERIFY_XSS checking by default. 2016-05-18 16:27:15 -04:00
Calen Pennington
299b2659c6 Allow tests to run in verbose mode and multiprocess mode (by turning off TestId mode as needed) 2016-05-18 14:39:00 -04:00
Calen Pennington
e60114c716 Add paver arguments to control concurrency and randomization 2016-05-18 14:39:00 -04:00
Calen Pennington
226da7d364 Make LMS tests run concurrently 2016-05-18 14:10:29 -04:00
Calen Pennington
5249504edc Use xunitmp by default, rather than standard xunit 2016-05-18 14:10:29 -04:00
Ben Patterson
62df58fafd Firefox version must meet a minimum
This will be a backwards-compatible change, which will allow
developers that use older versions of firefox (e.g., 28) to
continue with development while also supporting a build system
and development that uses newer firefox versions (e.g., 42)
2016-05-11 19:25:17 -04:00
Christine Lytwynec
645839b81d Fix default args for paver pa11ycrawler 2016-04-22 13:58:19 -04:00
Christine Lytwynec
bded48007b Fix start url format for paver pa11ycrawler 2016-04-22 13:58:18 -04:00
muzaffaryousaf
1b0cda2430 Js test fixes for lms and lms-coffee. 2016-04-22 19:09:33 +05:00
muzaffaryousaf
c0fef0b0e0 Js test fixes for cms and cms-squire. 2016-04-22 19:09:33 +05:00
muzaffaryousaf
375f2bfc59 Commenting out lms & cms suites to get a green build. 2016-04-22 19:09:30 +05:00
muzaffaryousaf
db672f4631 Karma configurations for common, lms and cms.
TNL-4102
2016-04-22 19:09:27 +05:00
Christine Lytwynec
6e93cee2da add --skip-fetch flag, update start_urls, update auto_auth to include redirect_to param 2016-04-21 14:21:16 -04:00
Christine Lytwynec
a14718bb92 Add pa11ycrawler command 2016-04-11 15:47:26 -04:00
Omar Khan
d426931e40 Add --save_screenshots option to paver test_bokchoy 2016-04-01 08:56:27 +07:00
Andy Armstrong
6dd09a89cf Fix issues with Underscore in the asset pipeline
FEDX-121

The previous approach for handling NPM assets was
to symlink them into the static directory. This appeared
to cause trouble with the asset pipeline where the files
in question were not installed and then old versions were
picked up instead.

This change instead copies NPM libraries to a new
static directory so that the pipeline can consume them
as with any other file. This new directory is added to
.gitignore so that the files don't get accidentally
checked in.
2016-03-25 10:02:38 -04:00
Eric Fischer
be00a96129 Get environment variable for bok-choy-custom runs 2016-03-22 10:16:30 -04:00
cahrens
0c9937889b Enabling XSS vulnerability flag for bok choy tests 2016-03-22 10:16:27 -04:00
Kevin Falcone
b4ac588ce1 Update reset-test-db.sh for bok-choy
This now correctly migrates and dumps files for both databases.

Run lettuce migrations for both databases
2016-02-29 13:59:29 -05:00
Usman Khalid
2586f09d7a Add option to disable migrations when running tests
By default, migrations are applied as they always have been. Exporting DISABLE_MIGRATIONS=1 or passing --disable-migrations to Paver commands will create tables directly from apps' models.
2016-02-29 11:47:32 -05:00
Ben Patterson
e5da5006fb Testsonly mode should also skip clearing mongo. 2016-02-04 06:58:57 -05:00
Ben Patterson
4caed6184c Do not flush the database when using bok-choy in testsonly mode.
Testsonly will not work currently, because the database flush will
remove some data fixtures. Even when they are loaded at the beginning
of the next test run, there are database corruptions. Instead of
flushing, do not do anything with the database at the end of the
testsonly test run. That way, tests that use dynamic data can be
run many times in a row.
2016-02-04 06:58:57 -05:00
Robert Raposa
f555ffd585 Refactor and improve js_utils helpers
- Rename escape_json_dumps to dump_js_escaped_json
- Rename escape_js_string to js_escaped_string
- Update js_escaped_string to output empty string for None
- Introduce dump_html_escaped_json
- Move dump_js_escaped_json after the pipe as new best practice
- Introduce additional uses of helpers
- Introduce new djangolib directory and move js_utils
2016-02-03 17:13:21 -05:00
Jesse Zoldak
d6b258fdeb Merge pull request #11265 from edx/zoldak/bok-choy-clean
Do not clean test files with bok choy testsonly command
2016-01-25 15:25:03 -05:00
Awais Jibran
8a6699a46d Studio breaks DEFAULT_COURSE_ABOUT_IMAGE_URL is not set in settings in cms
ECOM-3384
2016-01-22 16:49:57 +05:00
Jesse Zoldak
a00ebe925a Do not clean test files with bok choy testsonly command 2016-01-19 13:48:17 -05:00
Zia Fazal
7cdeb3300a load db_fixures when run with --testsonly
revert shell script change
2015-12-31 15:39:08 +05:00
Brian Beggs
89a7e42576 Merge pull request #10742 from edx/bbeggs/acceptance-test-migration-fix
Migrations will now run during Acceptance tests
2015-11-26 09:34:51 -05:00
Renzo Lucioni
70d57327eb Add Programs tab to Studio
Extends the Programs ConfigurationModel, cleans up Programs-related utilities and corresponding tests, and corrects caching. Uses the Programs API to list programs within Studio. ECOM-2769.
2015-11-25 14:56:50 -05:00
Brian Beggs
3d204a87f2 updated paver command to fake migrations when the DB exists 2015-11-25 13:24:08 -05:00
Ned Batchelder
f5d0f3ff55 Remove useless pylint suppressions 2015-11-22 07:41:19 -05:00
muhammad-ammar
8d5f153201 Merge remote-tracking branch 'origin/release' into dj18-release-merge
Conflicts:
	common/djangoapps/util/testing.py
	lms/djangoapps/instructor/views/api.py
	lms/djangoapps/teams/tests/test_views.py
	openedx/core/djangoapps/programs/models.py
	openedx/core/djangoapps/user_api/accounts/tests/test_views.py
	requirements/edx/github.txt
2015-11-18 17:53:44 +05:00
Usman Khalid
6cb62f2697 Rebase upgrade Django to v1.8.5
Please note that this is a squshed commit and the work of:
Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
2015-11-10 15:00:19 -05:00
Christine Lytwynec
5d9dc32558 add custom-a11y-rules.js from edx-custom-a11y-rules 2015-11-05 16:09:06 -05:00
Christine Lytwynec
468864a314 add paver test_a11y and a11y_coverage commands 2015-11-05 13:55:35 -05:00
Ben Patterson
7eb9cecb9b Ability to run bok-choy in multiprocess mode.
This includes:
* Ability to specify number of processes to run bok-choy tests in
* A forked nose commit to get the multiprocess plugin's logging to work
* A different plugin (xunitmp) must be used for pulling together xunit results

This works by:
* Starting the various servers that are needed for the acceptance test environment
* Running the tests themselves in multiprocess mode
2015-11-03 08:19:20 -05:00
Matt Drayer
1eab25f292 mattdrayer/increment-edx-lint: Bump to v0.2.9 and address pylint/pep8 violations
* Fix paver violations to stablize edx-lint update
* Parens, Line2Long
* Fix missing docstrings
* Fix PEP8 issues
* Address PR feedback (thanks @nedbat!)
2015-10-19 10:11:59 -04:00