Ned Batchelder
210be884bf
A faster way to clean the .pyc files
...
On my devstack, the old line takes about 5.5 seconds, the new line takes
about 1.3 seconds.
For background:
http://nedbatchelder.com/blog/201505/be_careful_deleting_files_around_git.html
2015-09-23 13:57:12 -04:00
Ned Batchelder
af609f103f
Merge pull request #9494 from edx/ned/move-recommender-tests
...
Move recommender XBlock tests to openedx/tests/external
2015-09-01 10:20:24 -04:00
Ned Batchelder
f925a4af9c
Move recommender XBlock tests to openedx/tests/xblock_integration
...
I want to make clear that these tests rely on XBlocks in other repos,
and that ideally in time we would move these tests into the XBlock repo.
2015-08-31 17:14:47 -04:00
Ned Batchelder
2a0259095d
Change imports from path to use the stablest name.
...
The old line:
from path import path
produced pylint errors because of the baroque way that path.py defined
"path". We tried to get them to change how they defined it, but they
deleted the name instead: https://github.com/jaraco/path.py/issues/102
(Jason then changed his mind, but this is a better way to use path.py,
it avoids the pylint error at least.)
2015-08-27 12:59:25 -04:00
Sarina Canelake
b41e70f541
Remove Pylint violations deprecated-pragma, bad-option-value
2015-07-13 17:33:26 -04:00
Sarina Canelake
ba8fd1c21d
Eliminate instances of unused-import Pylint violation
2015-07-13 17:33:25 -04:00
Christine Lytwynec
0bb519c2a0
Merge pull request #8727 from edx/clytwynec/TE-878
...
use 1 coveragerc file to generate 1 coverage report per build
2015-07-02 12:13:59 -04:00
Andy Armstrong
85814f0bbf
Support running Studio with optimized assets
2015-07-01 18:22:31 -04:00
Christine Lytwynec
e9e4e3cf65
use 1 coveragerc file to generate 1 coverage report per build
2015-07-01 16:07:49 -04:00
Andy Armstrong
aa76d9482a
Update Bok Choy to use optimized static assets
...
TNL-2465
2015-06-25 09:58:27 -04:00
cahrens
5fbad148c9
Jasmine test runner for files in common using RequireJS.
2015-06-15 13:51:16 -04:00
Ben Patterson
176770efad
Revert "Enable PyContracts during tests"
...
This reverts commit 4312c0e763 .
2015-05-22 15:05:11 -04:00
Christine Lytwynec
2f6cff5d69
Merge pull request #8128 from edx/clytwynec/fix_cyclic_import_in_pavelib
...
Fix cyclic import in pavelib
2015-05-20 16:51:10 -04:00
Calen Pennington
4312c0e763
Enable PyContracts during tests
2015-05-20 15:07:18 -04:00
Christine Lytwynec
63233aa5d8
Fix cyclic import in pavelib
2015-05-20 14:11:54 -04:00
Christine Lytwynec
2817ce1473
Merge pull request #7913 from edx/clytwynec/unique-dirs-for-test-results
...
Clytwynec/unique dirs for test results
2015-05-06 14:24:21 -04:00
Ben Patterson
db285cab02
Paver: Ability to run only servers or only tests
...
This would allow a user to set up and run servers, with an open prompt for killing
them. Likewise a user could open a different terminal session and run tests only.
How-to:
* At a terminal/ssh session, start bok-choy servers with
`paver test_bokchoy --serversonly`
(or, if you've already run collectstatic on your system:
`paver test_bokchoy --serversonly --fasttest`)
* When the above is running, you can now open a separate terminal/ssh session
and run:
`paver test_bokchoy -t my_tests --testsonly`
Keep in mind, the 'testsonly' flag does no setup. There is some minimal teardown; however,
such as clearing mongo and flushing the lms database. (Some tests have non-unique identifiers
and could not be run more than once.)
2015-05-06 11:49:25 -04:00
Christine Lytwynec
41a9e027f0
Revert "Revert "Clytwynec/unique dirs for test results""
...
This reverts commit 52c4aacad5 .
2015-05-04 15:26:11 -04:00
Christine Lytwynec
52c4aacad5
Revert "Clytwynec/unique dirs for test results"
2015-05-04 10:58:25 -04:00
Christine Lytwynec
4f5aeb3f49
Merge pull request #7709 from edx/clytwynec/unique-dirs-for-test-results
...
Clytwynec/unique dirs for test results
2015-05-04 08:55:38 -04:00
Ned Batchelder
72c0991005
Don't delete *.pyc fils in the .git directory
...
If you have a branch named "remove-all-.pyc", the original code would
clobber it inside the .git directory, because branches become files with
the same name. This prevents find from looking in .git, saving your
precious oddly named branches.
2015-04-30 18:17:17 -04:00
Christine Lytwynec
9b8062020b
set unique dirs for test reports
2015-04-28 14:59:35 -04:00
Jim Abramson
b5f58ccfcf
Merge pull request #7781 from edx/jsa/bokchoy-firefox-instrux
...
tweak firefox upgrade instructions
2015-04-26 15:31:01 -04:00
Jim Abramson
5e9d469a9a
tweak firefox upgrade instructions
2015-04-22 13:35:25 -04:00
David Baumgold
daf8320763
Remove extra spaces from paver commands
2015-04-22 12:17:43 -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
Jesse Zoldak
e5132e3f74
Remove unused paver option ptests
2015-04-08 11:57:02 -04:00
Christine Lytwynec
659e90ea95
pass opts From PythonTestSuite to NoseTestSuite
2015-03-16 11:13:31 -04:00
Christine Lytwynec
8919d3f8f7
Store count of pep8 and pylint violations to files in reports dir
2015-03-03 10:47:22 -05:00
Ben Patterson
9c04df5c7e
Revert "Refactor quality checks"
...
This reverts commit 747756a911 .
2015-03-02 10:30:21 -05:00
stv
747756a911
Refactor quality checks
2015-02-27 11:49:48 -08:00
stv
cdf7876a0e
Fix PEP8: W293 blank line contains whitespace
2015-02-27 10:04:52 -08:00
Christine Lytwynec
371f7ca403
fix extra_args for lib tests
2015-02-24 17:33:38 -05:00
Christine Lytwynec
e98c5580a0
split unittests into shards for in jenkins
2015-02-06 13:41:15 -05:00
Christine Lytwynec
4ee99f1911
Merge pull request #6824 from edx/clytwynec/TE-728
...
Fix "No data to report" coverage errors in bok choy tests
2015-01-29 16:12:33 -05:00
Christine Lytwynec
4c8ab7dab5
Fix "No data to report" coverage errors in bok choy tests
2015-01-29 14:48:05 -05:00
Christine Lytwynec
1f17fe1203
Add cov_args and extra_args to python unittest commands
2015-01-28 17:10:06 -05:00
Marco Re
d65902ed3c
Add themes files to staticfiles_dir in Studio
2015-01-17 13:24:54 +01:00
Matt Drayer
3c669e3838
New feature contribution: Entrance Exams
2015-01-15 20:35:24 -05:00
polesye
c7153be040
TNL-213: Let Students Add Personal Notes to Course Content.
...
Co-Authored-By: Jean-Michel Claus <jmc@edx.org >
Co-Authored-By: Brian Talbot <btalbot@edx.org >
Co-Authored-By: Tim Babych <tim@edx.org >
Co-Authored-By: Oleg Marshev <oleg@edx.org >
Co-Authored-By: Chris Rodriguez <crodriguez@edx.org >
2015-01-14 23:34:11 +02:00
Ben Patterson
f6b2b52c6d
Add docstring info for test suite properties.
2014-12-31 15:39:23 -05:00
Ben Patterson
a01fbefcf2
Refactor default_store logic in paver test_bokchoy
2014-12-31 15:39:23 -05:00
Jesse Zoldak
da1d0870a3
Improve the message to console for wrong FireFox version
2014-12-22 10:15:49 -05:00
Don Mitchell
d73eca48ba
Merge pull request #6296 from edx/dhm/studio_asides
...
make asides render in studio
2014-12-18 15:41:58 -05:00
Don Mitchell
d49c82f9bd
Add configuration to studio for asides
2014-12-18 14:43:22 -05:00
Calen Pennington
e88c00a25c
Make bok_choy tests clean up test files before executing
2014-12-18 14:08:20 -05:00
Andy Armstrong
356b2335e9
Add base support for cohorted group configurations
...
TNL-649
2014-12-05 09:52:26 -05:00
Greg Price
30d4dc44b8
Add paver option to specify js-test-tool port
...
This includes an upgrade to a newer version of js-test-tool that accepts
an option to specify the port number.
2014-12-01 13:05:40 -05:00
stv
41390f0239
Fix PEP8: E222 multiple spaces after operator
2014-11-10 19:30:18 -08:00
stv
5677b143db
Fix PEP8: W391 blank line at end of file
2014-11-10 11:00:18 -08:00