Configure vagrant environment to run testing suite out of the box.
@@ -58,3 +58,21 @@ CACHES = {
'LOCATION': '/var/tmp/django_cache',
}
}
+
+# TEST CONFIGURATION
+# ------------------------------------------------------------------------------
+
+INSTALLED_APPS += (
+ 'django_nose',
+)
+
+# Use nose to run all tests
+#TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
+
+NOSE_ARGS = [
+ #'--with-coverage',
+ '--cover-package=TWLight.applications,TWLight.emails,TWLight.graphs,TWLight.resources, TWLight.users',
+ #'--nologcapture',
+ #'--cover-html',
+ #'--cover-html-dir=htmlcov',
+]
