From c79da5817549f6216b58e0cdb1a9ee28eca6d099 Mon Sep 17 00:00:00 2001 From: ichuang Date: Tue, 7 Aug 2012 11:48:01 -0400 Subject: [PATCH] add documentation on rake + unit tests --- doc/development.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/development.md b/doc/development.md index 5b8e6fd837..9d6628732a 100644 --- a/doc/development.md +++ b/doc/development.md @@ -28,3 +28,18 @@ Check out the course data directories that you want to work with into the Replace `../data` with your `GITHUB_REPO_ROOT` if it's not the default value. This will import all courses in your data directory into mongodb + +## Unit tests + +This runs all the tests (long, uses collectstatic): + + rake test + +xmodule can be tested independently, with this: + + rake test_common/lib/xmodule + +To see all available rake commands, do this: + + rake -T + \ No newline at end of file