test
- Test support utilities
Testing related utilities.
env
- Access to the testing environment for the svn, maven and msvs packages
Environment configuration for tests that interact with the system.
-
class
Data
(package)[source]
-
__init__
(package)[source]
x.__init__(…) initializes x; see help(type(x)) for signature
-
class
Env
(package)[source]
-
__init__
(package)[source]
x.__init__(…) initializes x; see help(type(x)) for signature
-
class
EnvBase
(elem)[source]
-
__init__
(elem)[source]
x.__init__(…) initializes x; see help(type(x)) for signature
-
exception
TestEnvNotSetError
[source]
Raised when the test environment hasn’t been setup, i.e. NXPY_TEST_DIR is not set.
-
get_data
(test, package)[source]
-
get_env
(test, package)[source]
log
- Log configuration for tests
Logging configuration for tests.
test
- Support functions for running tests
Unittest utility functions.
-
skipIfNotAtLeast
(version)[source]
Skip the current test if the current Python release is lower than version.
-
skipIfNotAtMost
(version)[source]
Skip the current test if the current Python release is higher than version.
-
testClasses
(*classes)[source]
Runs all tests defined in the given classes.
-
testModules
(*modules)[source]
Runs all tests defined in the given modules.