Skip to content

Commit

Permalink
Added test framework with test for Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
George Schneeloch committed Aug 28, 2015
1 parent a7fc96e commit 167af5f
Show file tree
Hide file tree
Showing 10 changed files with 19,496 additions and 51 deletions.
9 changes: 8 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,18 @@ Staff Grading
Testing
-------

Assuming ``edx-sga`` is installed as above, you can run tests like so::
Assuming ``edx-sga`` is installed as above, you can run Python tests like so::
$ python manage.py lms --settings=test test edx_sga

To get statement coverage::

$ coverage run --source edx_sga manage.py lms --settings=test test edx_sga
$ coverage report -m

To run JavaScript tests, install js-test-tool_ and run::

$ js-test-tool run ./edx_sga/static/js_test.yml --use-firefox

.. _js-test-tool: https://github.com/edx/js-test-tool

92 changes: 92 additions & 0 deletions edx_sga/static/js/lib/URI.js

Large diffs are not rendered by default.

Loading

0 comments on commit 167af5f

Please sign in to comment.