##// END OF EJS Templates
tests docs
marcink -
r3637:58c2b545 beta
parent child Browse files
Show More
@@ -6,6 +6,16 b' command.'
6
6
7 This module initializes the application via ``websetup`` (`paster
7 This module initializes the application via ``websetup`` (`paster
8 setup-app`) and provides the base testing objects.
8 setup-app`) and provides the base testing objects.
9
10 nosetests -x - fail on first error
11 nosetests rhodecode.tests.functional.test_admin_settings:TestSettingsController.test_my_account
12 nosetests --pdb --pdb-failures
13 nosetests --with-coverage --cover-package=rhodecode.model.validators rhodecode.tests.test_validators
14
15 optional FLAGS:
16 RC_WHOOSH_TEST_DISABLE=1 - skip whoosh index building and tests
17 RC_NO_TMP_PATH=1 - disable new temp path for tests, used mostly for test_vcs_operations
18
9 """
19 """
10 import os
20 import os
11 import time
21 import time
@@ -55,10 +65,6 b' log = logging.getLogger(__name__)'
55 # Invoke websetup with the current config file
65 # Invoke websetup with the current config file
56 # SetupCommand('setup-app').run([config_file])
66 # SetupCommand('setup-app').run([config_file])
57
67
58 ##RUNNING DESIRED TESTS
59 # nosetests -x rhodecode.tests.functional.test_admin_settings:TestSettingsController.test_my_account
60 # nosetests --pdb --pdb-failures
61 # nosetests --with-coverage --cover-package=rhodecode.model.validators rhodecode.tests.test_validators
62 environ = {}
68 environ = {}
63
69
64 #SOME GLOBALS FOR TESTS
70 #SOME GLOBALS FOR TESTS
General Comments 0
You need to be logged in to leave comments. Login now