Commit Graph

64 Commits

Author SHA1 Message Date
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
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
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
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
stv
fb9f324f2f Fix PEP8: E303 too many blank lines 2014-11-10 11:00:14 -08:00
stv
cf9308144d Fix PEP8: E302 expected 2 blank lines, found 1 2014-11-10 11:00:11 -08:00
Ned Batchelder
cce2aa7fdc No need to use which on a .py file 2014-11-01 16:31:44 -04:00
Christine Lytwynec
1be81109e5 enable auto-capturing of hars in bok-choy tests 2014-09-15 12:14:47 -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
Calen Pennington
1d9c272a2e LMS-11282 Paver Lettuce Acceptance support for Split; default store set to Draft. 2014-09-11 10:48:08 -04:00
clytwynec
118baafb1f Merge pull request #4943 from edx/mvo/bumping_bok_choy_version
bumping bok choy version
2014-08-29 10:08:51 -04:00
Minh Tue Vo
688909eb76 bumping bok choy version
check firefox version, raise exception with instructions for updating
2014-08-28 16:58:55 -04:00
Jesse Zoldak
cc41ccb48c Define SELENIUM_DRIVER_LOG_DIR in paver bok-choy command 2014-08-22 16:57:23 -04:00
Jesse Zoldak
4d5b948928 Merge pull request #4748 from Stanford-Online/jbau/parallel-unit-tests
make unit tests respect mongo port/host settings (with default)
2014-08-15 10:56:52 -04:00
Will Daly
680d5031d7 Merge pull request #4802 from edx/will/unit-test-staticfiles
Unit tests don't need assets
2014-08-12 16:42:19 -04:00
Will Daly
a827df27fe Remove update assets from unit test suite
Update settings so unit tests pass
2014-08-12 15:08:39 -04:00
Jesse Zoldak
e399c0b198 Clean out the mako temp dirs before running tests 2014-08-12 11:10:53 -04:00
Jason Bau
b55362b925 make unit tests respect mongo port/host settings (with default)
settings are read in from environment variable
2014-08-11 14:17:29 -07:00
clytwynec
8c8d388d1a Merge pull request #4744 from edx/clytwynec/remove_flaky_decorator_from_tests
removing "flaky" plugin, since it is not reporting failures properly
2014-08-08 10:15:03 -04:00