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]
-
class Env(package)[source]
-
__init__(package)[source]
-
class EnvBase(elem)[source]
-
__init__(elem)[source]
-
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.