# HG changeset patch # User Marcin Kuzminski # Date 1364597887 -3600 # Node ID 58c2b54540d2a4206b512575986db823d66d38fe # Parent ddc4c12f00fb299660b10ef5ec7b38ff39377350 tests docs diff -r ddc4c12f00fb -r 58c2b54540d2 rhodecode/tests/__init__.py --- 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