diff rhodecode/tests/__init__.py @ 3637:58c2b54540d2 beta

tests docs
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 29 Mar 2013 23:58:07 +0100
parents 7abbb77b02d0
children 63e49418a4cc
line wrap: on
line diff
--- a/rhodecode/tests/__init__.py	Fri Mar 29 23:49:21 2013 +0100
+++ b/rhodecode/tests/__init__.py	Fri Mar 29 23:58:07 2013 +0100
@@ -6,6 +6,16 @@
 
 This module initializes the application via ``websetup`` (`paster
 setup-app`) and provides the base testing objects.
+
+nosetests -x - fail on first error
+nosetests rhodecode.tests.functional.test_admin_settings:TestSettingsController.test_my_account
+nosetests --pdb --pdb-failures
+nosetests --with-coverage --cover-package=rhodecode.model.validators rhodecode.tests.test_validators
+
+optional FLAGS:
+    RC_WHOOSH_TEST_DISABLE=1 - skip whoosh index building and tests
+    RC_NO_TMP_PATH=1 - disable new temp path for tests, used mostly for test_vcs_operations
+
 """
 import os
 import time
@@ -55,10 +65,6 @@
 # Invoke websetup with the current config file
 # SetupCommand('setup-app').run([config_file])
 
-##RUNNING DESIRED TESTS
-# nosetests -x rhodecode.tests.functional.test_admin_settings:TestSettingsController.test_my_account
-# nosetests --pdb --pdb-failures
-# nosetests --with-coverage --cover-package=rhodecode.model.validators rhodecode.tests.test_validators
 environ = {}
 
 #SOME GLOBALS FOR TESTS