Commit Graph

54 Commits

Author SHA1 Message Date
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
917f877299 PLAT-1840 Fix common/lib tests under Django 1.9 2017-12-13 15:57:00 -05:00
Jeremy Bowman
05e7a4d671 PLAT-1830 Allow running any test suite in tox 2017-12-11 15:43:01 -05:00
Calen Pennington
5ed3e5edba Make run_quality use the same upper pylint limit as run_pylint 2017-12-01 21:39:50 -05:00
Calen Pennington
83211fa87d Only dump last 100 lines of stdout and stderr to the jenkins console 2017-12-01 21:39:49 -05:00
Calen Pennington
840eb0be4e Capture paver quality logs into the artifacts directory
Capture paver quality build stdout and stderr into separate log files
Send pylint results directly to a report file, so that we don't overwhelm jenkins
2017-12-01 14:34:48 -05:00
John Eskew
c78ccf8fc1 Fix the systems parsing code for pylint.
Add lower pylint error threshold to guard against unsuccessful runs.
Increase upper pylint threshold. Add tests for pylint option parsing.
2017-11-18 10:50:20 -05:00
Stuart Young
feeec8f0f4 stop writing linting violations to console 2017-11-15 16:33:00 -05:00
Stuart Young
77ed0ed46c add option to disable capturing stderr in pytest 2017-11-02 10:33:53 -04:00
Stuart Young
7f94d311c0 set django version in paver args 2017-10-23 15:08:29 -04:00
Jeremy Bowman
ca97e946a6 Switch to pytest for unit tests 2017-09-22 16:07:53 -04:00
Andy Armstrong
e5cab61897 Lint Sass files using the rules in stylelint-config-edx
Fixes
2017-09-11 22:02:59 -04:00
Calen Pennington
04e67b819c fixup! Write test output to logs, rather than to stdout to avoid blowing up jenkins 2017-08-23 11:40:18 -04:00
Calen Pennington
8d5e0254bc Write test output to logs, rather than to stdout to avoid blowing up jenkins 2017-08-23 11:39:49 -04:00
Jeremy Bowman
9e3f35db22 PLAT-1676 Use pytest for bok-choy tests 2017-08-14 11:49:39 -04:00
Robert Raposa
b370fe2314 Part II: Rename xss linter. 2017-06-30 13:20:23 -04:00
Calen Pennington
ede336051b Make test runs less verbose 2017-06-08 14:29:42 -04:00
Ben Patterson
f993576511 Merge pull request #14390 from edx/benp/expose-python-cyclo-complexity
Print the paver output for python cyclomatic complexity to console.
2017-01-25 16:18:06 -05:00
Ben Patterson
e124c4a6a2 Print the paver output for python cyclomatic complexity to console.
The actual report will continue to be piped into reports/python_complexity.log.

By exposing the paver output (approx 4 lines), we'll be able to consume
the actual complexity number in our logs and therefore trend the results
in our log aggregator.
2017-01-25 07:45:34 -05:00
Feanil Patel
0d4399553b Use the system version of Firefox
Use the system version of firefox for running test.
2017-01-24 16:53:59 -05:00
Ben Patterson
bf28861eec Create shards 10 and 11 for bok-choy. 2017-01-03 12:00:40 -05:00
Jesse Zoldak
8e31eee734 Revert "Bug fix: collect test results when running in multiprocess mode." 2016-10-31 11:37:30 -04:00
Ben Patterson
8aa132d44e Always xunitmp since it's supported no matter the # of processes 2016-10-26 12:43:46 -04:00
Ben Patterson
56676e5711 Bug fix: collect test results when running in multiprocess mode. 2016-10-23 17:14:15 -04:00
Calen Pennington
bc20a37c2b Simplify how shards are selected in CI 2016-08-03 16:23:02 -04:00
Brian Jacobel
017dbffd5e Remove ESLint from build scripts and script tests 2016-08-02 10:15:53 -04:00
Brian Jacobel
af76273393 Install and configure eslint and eslint-config-edx (alongside JSHint for now) 2016-07-29 13:27:55 -04:00
Calen Pennington
2e5936f0f5 [TE-1511] Make --with-xunit(mp)? and --xunit(mp)?-file match in all test suites 2016-07-08 09:48:51 -04:00
Calen Pennington
2690c044c6 Only generate xunit files during CI builds, so that pudb works during development 2016-06-28 10:46:53 -04:00
Calen Pennington
ef89c75b19 Deprecate paver arguments with '_' in them in favor of versions with '-' 2016-06-27 15:21:28 -04:00
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
08fd3ac57c Enable multiprocess tests on LMS tests in jenkins 2016-06-20 08:30:22 -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
Calen Pennington
09dc884c38 Isolate databases between test processes 2016-05-18 14:10:28 -04:00
Robert Raposa
143a22fb9f Enhance Jenkins integration of safe templates take 2
- Handle case when no files are linted
- Skip deleted files for safe commit script
- Add verbose options for safe commit
2016-05-13 09:59:23 -04:00
Robert Raposa
5ea529ae39 Revert: Enhance Jenkins integration of safe template linting 2016-05-11 09:56:23 -04:00
Robert Raposa
afdec6a99b Enhance Jenkins integration of safe template linting
- Add rule based thresholds
- Add safecommit to Jenkins
2016-05-10 15:50:45 -04:00
Calen Pennington
e87a8a0de3 Make tests run in verbose mode 2016-05-04 14:51:31 -04:00
Ben Patterson
ddbd7f9174 Designate 4th shard. 2016-04-28 10:09:32 -04:00
Robert Raposa
ec442789c0 Add Jenkins support for Safe Templates Linter 2016-04-26 12:36:25 -04:00
Ben Patterson
45c2976180 Use custom firefox path for bok-choy tests (firefox 42)
This is a backwards-compatible window for this upgrade. It will
later be replaced with using the default location (whatever's on
PATH)
2016-04-24 08:32:33 -04:00
Ben Patterson
53c315a310 Builds: empty xunit file as a function.
This also ensures that future lms shards are handled in a
smarter way, like our bok-choy shards. When no shard is
specified, rather than running all shards, only create
an empty xunit report.
2016-03-19 12:57:54 -04:00
Ben Patterson
c504029b39 Create a third shard for lms unit tests.
This will leverage the nose attrib plugin to allow us
to break tests apart on our build system to run
in parallel on separate nodes.
2016-03-17 12:01:42 -04:00
Ben Patterson
d0f6aee339 Update script for 9 shards. 2016-01-19 17:20:21 -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
Ben Patterson
8833db6a56 Pylint results should be piped.
In the event of a pylint failure, we need to cat the log. This will also
ensure that the remaining scripts in the job can run.
2015-10-29 14:32:13 -04:00
Christine Lytwynec
b92d239e47 Merge pull request #10081 from edx/clytwynec/update-bokchoy-0.4.6
Clytwynec/update bokchoy 0.4.6
2015-10-08 15:45:22 -04:00
Christine Lytwynec
ce42ba5655 move existing a11y tests to bokchoy test folder 2015-10-07 10:56:39 -04:00
Ben Patterson
df821f35ee Add node_modules to the path via the jenkins-common script instead of all-tests.
The jenkins-common script is the better place for this particular setup, since that
script is doing similar setup steps to prepare the environment for running
various tests/subsequent scripts. This also will resolve downstream processes,
such as our jenkins AMI builder (for jenkins-worker images).
2015-09-30 15:57:02 -04:00