Commit Graph

114 Commits

Author SHA1 Message Date
Ned Batchelder
28bb4724e7 Put the coverage data files in the reports dir, where they will be treated like the disposable things they are. 2012-11-08 11:20:23 -05:00
Ned Batchelder
d3e2e739a7 Add the .coverage files to the clobber task. 2012-11-08 11:20:23 -05:00
Calen Pennington
83e2b362e4 Make reports directory build work correctly 2012-11-08 11:20:23 -05:00
Calen Pennington
0cf46f7636 Namespace the coverage html and xml report generation tasks 2012-11-08 11:20:23 -05:00
Calen Pennington
1968a1dde5 Remove attempt to use virtualenv python when running django-admin commands 2012-11-08 11:20:22 -05:00
Calen Pennington
899132a9bb Force django to run using the python from the virtualenv 2012-11-08 11:20:22 -05:00
Ned Batchelder
3dc23eb131 Coverage xml and html reports are now a separate 'xml' and 'html' step from 'test'. 2012-11-08 11:20:22 -05:00
Calen Pennington
c3f0d31cc9 Split out requirements that come from the local mitx repo and those that come from github, and upgrade the local requirements before running tests 2012-11-08 11:20:16 -05:00
Ned Batchelder
90e3386751 WIP for quieter tests with coverage. 2012-11-08 11:19:33 -05:00
Ned Batchelder
7eb196df38 Run coverage directly instead of as a plugin. Also quiet the install and clean steps of tests. 2012-11-08 11:19:33 -05:00
Ned Batchelder
7033faf18c Don't show stdout from collectstatic during tests. 2012-11-08 11:19:32 -05:00
Александр
b8dc44c6ca commands for viewing and compiling docs 2012-11-02 17:17:12 +02:00
Victor Shnayder
4bf9323eed More test speedups:
- Add tasks to test lib without coverage
- Add a coverage flag to test.py (set to True, for manual tweaking for now)
2012-10-15 02:23:00 -04:00
John Jarvis
bd45dbd8d4 Adding django-admin/rake command to set the staff bit 2012-10-10 09:46:30 -04:00
Calen Pennington
d8e742b9ee Re-install both xmodule and capa before running local dev server 2012-09-28 10:33:22 -04:00
Calen Pennington
0a55e1eae1 Add sub-environments for the lms that is running alongside the lms for debugging 2012-09-17 13:51:33 -04:00
Calen Pennington
317e2c345e Add autodeploy properties task to rakefile 2012-09-10 11:37:02 -04:00
Calen Pennington
5b7ae1a99b Add more excludes to rakefile 2012-08-22 15:14:25 -04:00
Calen Pennington
445ce72b53 Leave management of services and package installation to puppet 2012-08-17 14:59:11 -04:00
David Ormsbee
689c761bbc Remove comment in Rakefile I was just testing. 2012-08-10 17:07:03 -04:00
David Ormsbee
cbfdf59760 Fix test error regarding UserProfiles (a UserProfile must exist before a CourseEnrollment) 2012-08-10 16:41:46 -04:00
David Ormsbee
172072209f Add common djangoapps to tests run 2012-08-10 10:15:55 -04:00
Calen Pennington
9cba2232d5 Run all tests all the way through before quitting on errors 2012-08-07 13:32:58 -04:00
Calen Pennington
c9e637d719 Make cms and lms tests run independently (they had been colliding on collectstatic) 2012-07-30 12:58:45 -04:00
Victor Shnayder
59defd33b6 Formatting and little bugfixes
* add course and org to full/course.xml
* fix error path in clean_xml script
* commit rakefile change needed by c5334f150c
2012-07-27 16:09:25 -04:00
Calen Pennington
30452d3202 Get pylint running on all modules again 2012-07-23 14:26:16 -04:00
John Jarvis
34a6aa8729 temporary workaround due to root owned files 2012-07-18 17:14:13 -04:00
John Jarvis
5ffafbe190 moving chown after pip install 2012-07-18 13:50:52 -04:00
Victor Shnayder
f8ce11a6b5 Add fixes to notes in #182
* use 'location' instead of 'id' in views.
* still need to change names in the coffeescript--quick fix didn't work
2012-07-16 14:08:03 -04:00
Victor Shnayder
97a2422662 simplify rakefile a bit in response to comments on #178 2012-07-16 13:34:05 -04:00
Victor Shnayder
1f1fab4992 add fasttest rake command
* test_{cms/lms} will run collectstatic first, fasttest_{cms/lms} won't
* also add staticfiles dir to test_root gitignore
2012-07-13 12:07:42 -04:00
Victor Shnayder
339e9a68f4 Make end-to-end tests work again
* NOTE: successfully running the tests depends on an updated version of
  django-pipeline, which fixes a unicode bug (efaba4ac63)

Config changes:
* Use separate db for the cms
* Run collectstatic before running tests--needed to get everything in the right place for loading pages
* fix some paths related to this
* Turn off JS compressor for CMS
* add empty test_root/uploads dir

Code changes:
* Add cms tests to check that home page and signup pages load
* Add cms account creation test
* Make github sync tests clean out repo dirs before running.
2012-07-13 11:51:33 -04:00
ichuang
926fdd010e Merge pull request #173 from MITx/cpennington/pull-155-cleanup
This cleans up remaining issues w/ https://github.com/MITx/mitx/pull/155
2012-07-11 19:34:56 -07:00
Calen Pennington
c7df948030 Run pep8 and pylint per environment 2012-07-11 22:19:34 -04:00
ichuang
41be962d89 Merge pull request #170 from MITx/cpennington/cms-save-performance
This improves the performance of the save to github for the cms
(had some minor requests for clarification, but that's all)
2012-07-11 18:34:09 -07:00
Calen Pennington
58167e1d42 Make django-admin commands clear out pyc files and install the latest xmodule setup.py 2012-07-11 16:22:56 -04:00
David Ormsbee
09efd867c8 Merge pull request #165 from MITx/cpennington/lms-collectstatic
Make collectstatic run to completion
2012-07-11 07:18:41 -07:00
Calen Pennington
100422a7f3 Make collectstatic run to completion 2012-07-11 10:14:51 -04:00
John Jarvis
039cc40598 rakefile updated so that python modules in the package will be installed at package install time 2012-07-11 09:23:20 -04:00
John Jarvis
ec47b72caf updating rakefile so that starting gunicorn is non-fatal 2012-07-10 18:11:29 -04:00
Calen Pennington
a74024687e Make rake clobber remote test_root/*_repo directories that are used and should be cleaned up by tests 2012-07-10 15:03:35 -04:00
Calen Pennington
824f049289 Make packaging task not verbose 2012-07-10 15:00:47 -04:00
ichuang
9b90068e03 Merge branch 'stable-edx4edx' of github.com:MITx/mitx
Conflicts:
	common/lib/xmodule/seq_module.py
	common/lib/xmodule/xmodule/capa_module.py
	lms/djangoapps/courseware/module_render.py
	lms/djangoapps/courseware/views.py
	lms/djangoapps/multicourse/multicourse_settings.py
2012-07-08 16:52:36 -04:00
Calen Pennington
d7178e4a41 Add a set of rake tasks for checking settings importability 2012-07-02 13:26:31 -04:00
John Jarvis
d61d084599 postrm update 2012-06-29 13:33:14 -04:00
John Jarvis
6229b2d1f4 updating rakefile to cleanup on package removal 2012-06-29 13:14:36 -04:00
Calen Pennington
f59951ead5 Run tests before running code quality checks (for faster turnaround time) 2012-06-28 11:51:37 -04:00
Calen Pennington
19044abed2 Run tests before running code quality checks (for faster turnaround time) 2012-06-28 11:29:46 -04:00
Calen Pennington
fedf2c8d00 Merge pull request #150 from MITx/stable-edx4edx-aws
Stable edx4edx aws
2012-06-28 05:39:42 -07:00
John Jarvis
59d0c408f0 collect static resources is now handled by the gunicorn upstart script 2012-06-27 13:12:55 -04:00