Commit Graph

84 Commits

Author SHA1 Message Date
Jay Zoldak
6ebb753823 Write xunit reports for acceptance tests
Refactor rake tasks for acceptance tests
Address PR comments
2013-09-24 12:36:38 -04:00
Jay Zoldak
4c411e2121 Add ability to run against generic selenium grid 2013-09-18 13:49:34 -04:00
Will Daly
fe72730969 Integrate js-test-tool into testing infrastructure 2013-08-26 20:21:18 -04:00
JonahStanley
d96595318a Stylistic changes
CMS tests should now run on IE

CMS tests will now run on Safari

Rebased wrong

Forgot to update the test_acceptance.sh

Changed way of string splitting
2013-08-22 10:08:35 -04:00
JonahStanley
58bb6e1ea3 Changed tags to be lowercase to prevent preprocessing
Changed to have a default for device since it isn't always needed

Tags are more clear

Fixed stylistic issues
2013-08-21 16:05:02 -04:00
JonahStanley
027cbfd09a Added logic to test_acceptance.sh so that the proper tests will be skipped for each browser
This logic also covers if a lettuce_browser is specified

Removing browser matrix from readme
2013-08-21 16:05:02 -04:00
lapentab
69bbc3eeb0 Add system site packages to acceptance tests 2013-08-08 14:37:19 -04:00
Jay Zoldak
a19c1a3c20 Make the virtualenvs on jenkins use site-packages for numpy, scipy, etc. 2013-08-07 15:03:23 -04:00
Sarina Canelake
4ee16f1664 Add diff-quality rake task (rake quality) 2013-07-23 09:16:35 -04:00
Calen Pennington
dec20d76bc Use separate venv for parallel builds 2013-06-26 16:25:44 -04:00
Jonah Stanley
b14553d867 Merge pull request #220 from edx/jonahstanley/make-units-parallel
Jonahstanley/make units parallel
2013-06-25 11:44:01 -07:00
Will Daly
3d202ffc71 Moved generation of pylint/pep8 reports to after running the
test suite, so the clean reports command doesn't blow
away the reports.
2013-06-21 10:57:19 -04:00
JonahStanley
cb04f9f0b8 Moved port range to rake file 2013-06-21 08:51:44 -04:00
Calen Pennington
473b0fc389 Do a bundle install before trying to use rake, so that we have all the prerequisites when running tests 2013-06-11 09:41:03 -04:00
Calen Pennington
5489a3b645 Merge pull request #44 from edx/feature/cale/run-all-tests
Run all tests on jenkins
2013-06-06 09:52:27 -07:00
Calen Pennington
0bf7c71ec2 Run all tests on jenkins
We used to specify specific rake test tasks so that we could run all of
them even if early ones failed. However, that meant that as new tasks
were added, they weren't being run on jenkins.

Now, there is a facility in the rake scripts so that tests can run using
the test_sh function, which will delay failure until the end of the rake
run, unless the TESTS_FAIL_FAST environment variable is set.

Furthermore, this reorganizes the jasmine test tasks so that we can run
those as part of `rake test` as well.
2013-06-05 13:08:54 -04:00
Will Daly
34d1ea9e63 Consolidated coverage report generation into one rake command.
Added diff coverage reports using diff-coverage tool.
2013-05-30 15:09:39 -04:00
Calen Pennington
69beea854c Merge pull request #2045 from edx/feature/cale/jasmine-junit-reports
Record junit reports of jasmine tests
2013-05-23 11:06:34 -07:00
Calen Pennington
b2b6ca5f7b Record junit reports of jasmine tests 2013-05-22 22:01:44 -04:00
Calen Pennington
dcefd9e991 Taught rake test_lms and test_cms to run specific tests by passing a single argument 2013-05-22 21:37:48 -04:00
Kevin Chugh
ef3204da69 Merge pull request #2059 from edx/feature/zoldak/forum-testing
Feature/zoldak/forum testing
2013-05-17 10:10:55 -07:00
Jay Zoldak
9fba56c0e2 Include running jasmine tests for discussion forums on jenkins 2013-05-16 16:49:25 -04:00
Will Daly
d1fee427fe Updated Jenkins script to reflect new requirements installation process 2013-05-16 11:39:44 -04:00
Will Daly
342b3bb0e9 Merge branch 'master' into feature/will/ci-lettuce-tests
Resolved conflict with changes to Rakefile in master

Conflicts:
	rakefile
2013-05-16 11:21:59 -04:00
Calen Pennington
ec7c47828f Merge pull request #1961 from edx/feature/cale/maintain-dev-environment
Feature/cale/maintain dev environment
2013-05-15 12:36:36 -07:00
Calen Pennington
352a4da5b8 Use install_prereqs in tests 2013-05-15 15:25:42 -04:00
Calen Pennington
1746c60072 Merge pull request #2027 from edx/fix/cale/allow-liveserver-port-ranges
Allow django liveserver to use larger port range
2013-05-15 12:19:25 -07:00
Calen Pennington
f499dec1db Merge pull request #2028 from edx/feature/cale/flexible-repo-jenkins
Make gcli commands flexible around org and repo name
2013-05-15 12:15:48 -07:00
Calen Pennington
8b7970938f Use one virtualenv for each parallel build process 2013-05-15 13:39:21 -04:00
Calen Pennington
b3e8d59762 Make gcli commands flexible around org and repo name 2013-05-15 13:19:42 -04:00
Calen Pennington
5cc15fccf1 Allow django liveserver to use larger port range 2013-05-15 13:19:22 -04:00
Will Daly
1240c5ae92 Merge branch 'master' into feature/will/ci-lettuce-tests 2013-05-15 11:40:54 -04:00
Will Daly
405299712c Disabled color output from lettuce tests in the Jenkins logs 2013-05-15 11:38:11 -04:00
Jay Zoldak
30e8e2e2ae Update repo name in jenkins test shell script. 2013-05-13 16:30:01 -04:00
Will Daly
17bd4d0236 Changed permissions on test_acceptance.sh to make it executable 2013-05-13 16:21:43 -04:00
Will Daly
baa7916aa7 Added Jenkins script to run acceptance tests
Fixed a typo in the original jenkins/test.sh script
2013-05-13 12:11:14 -04:00
e0d
9ee246e407 flexible org repos parsing tested locally 2013-05-02 15:50:33 -04:00
Jay Zoldak
0b452f6195 Change org for gcli status command from mitx to edx 2013-05-02 12:41:59 -04:00
Calen Pennington
436d95bfab Make tests install coffee locally 2013-04-29 07:32:16 -04:00
Calen Pennington
bbab2d7de7 Install gemfiles for tests 2013-04-18 10:09:21 -04:00
Calen Pennington
369c4a3195 Don't try and install test-requirements.txt anymore 2013-04-16 11:40:04 -04:00
Jay Zoldak
f6b6f16ba5 Update the comments explaining test execution 2013-04-01 10:58:00 -04:00
Jay Zoldak
1679f1e31d Enable executing the lms jasmine tests as part of the build 2013-04-01 10:52:11 -04:00
Calen Pennington
c0b6c01fd1 Use the right pip for bash OR 2013-03-12 13:30:24 -04:00
Calen Pennington
137662081f Squelch pep8 and pylint output unless they fail 2013-03-12 13:26:17 -04:00
Calen Pennington
433e50e04f Make sure that test-requirements.txt doesn't install versions of libraries that requirements.txt has pinned, and cache pip downloads 2013-03-12 12:41:22 -04:00
Calen Pennington
2113541632 Merge remote-tracking branch 'origin/master' into feature/alex/poll-merged
Conflicts:
	.ruby-version
	cms/djangoapps/contentstore/tests/test_contentstore.py
	cms/djangoapps/models/settings/course_metadata.py
	common/lib/xmodule/xmodule/course_module.py
	common/lib/xmodule/xmodule/modulestore/tests/factories.py
2013-03-12 07:23:28 -04:00
Calen Pennington
81527d60d8 Move pep8 and pylint into test suite, so that we can rachet down the number of violations 2013-03-11 12:27:56 -04:00
Calen Pennington
881e137fb0 Save lcp state when a problem is saved 2013-03-11 12:23:24 -04:00
Calen Pennington
4f555f6480 Merge remote-tracking branch 'origin/master' into feature/cale/xmodule-storage-model
Conflicts:
	cms/djangoapps/contentstore/course_info_model.py
	cms/djangoapps/contentstore/module_info_model.py
	cms/djangoapps/contentstore/tests/factories.py
	cms/djangoapps/contentstore/tests/test_course_settings.py
	cms/djangoapps/contentstore/views.py
	cms/djangoapps/models/settings/course_details.py
	cms/djangoapps/models/settings/course_grading.py
	cms/templates/edit_subsection.html
	common/djangoapps/mitxmako/shortcuts.py
	common/djangoapps/static_replace.py
	common/djangoapps/util/converters.py
	common/djangoapps/xmodule_modifiers.py
	common/lib/xmodule/setup.py
	common/lib/xmodule/xmodule/abtest_module.py
	common/lib/xmodule/xmodule/capa_module.py
	common/lib/xmodule/xmodule/course_module.py
	common/lib/xmodule/xmodule/discussion_module.py
	common/lib/xmodule/xmodule/error_module.py
	common/lib/xmodule/xmodule/html_module.py
	common/lib/xmodule/xmodule/js/src/video/display.coffee
	common/lib/xmodule/xmodule/mako_module.py
	common/lib/xmodule/xmodule/modulestore/mongo.py
	common/lib/xmodule/xmodule/modulestore/store_utilities.py
	common/lib/xmodule/xmodule/modulestore/xml.py
	common/lib/xmodule/xmodule/modulestore/xml_importer.py
	common/lib/xmodule/xmodule/raw_module.py
	common/lib/xmodule/xmodule/self_assessment_module.py
	common/lib/xmodule/xmodule/seq_module.py
	common/lib/xmodule/xmodule/template_module.py
	common/lib/xmodule/xmodule/tests/__init__.py
	common/lib/xmodule/xmodule/tests/test_export.py
	common/lib/xmodule/xmodule/tests/test_import.py
	common/lib/xmodule/xmodule/video_module.py
	common/lib/xmodule/xmodule/x_module.py
	common/lib/xmodule/xmodule/xml_module.py
	lms/djangoapps/courseware/access.py
	lms/djangoapps/courseware/courses.py
	lms/djangoapps/courseware/grades.py
	lms/djangoapps/courseware/models.py
	lms/djangoapps/courseware/module_render.py
	lms/djangoapps/courseware/tests/tests.py
	lms/djangoapps/courseware/views.py
	lms/djangoapps/django_comment_client/utils.py
	lms/templates/staff_problem_info.html
	lms/templates/video.html
	rakefile
2013-02-07 15:12:30 -05:00