diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2013-03-29 23:58:07 +0100 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2013-03-29 23:58:07 +0100 |
commit | 5db36677ba8b814a65d0f06f007ad041bc9cb7e2 (patch) | |
tree | bc69b4fce152ff7f88e186524075b6f3087fa071 /rhodecode/tests | |
parent | a4599b548d93e66750655ec92839fc4703d40750 (diff) |
tests docs
--HG--
branch : beta
Diffstat (limited to 'rhodecode/tests')
-rw-r--r-- | rhodecode/tests/__init__.py | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/rhodecode/tests/__init__.py b/rhodecode/tests/__init__.py index 47743885..fc4cd59a 100644 --- a/rhodecode/tests/__init__.py +++ b/rhodecode/tests/__init__.py @@ -6,6 +6,16 @@ command. 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 @@ __all__ = [ # 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 |