Sneeze¶
The Sneeze class is the plugin for nose. It provides the core command line options
for controlling Sneeze behavior for a given nosetests execution. Providing the
--reporting-db-config argument to nosetests enables Sneeze (and any of its
enabled plugins) for the given nosetests execution. The user must also provide either
--test-cycle-name and --test-cycle-description, or a valid
--test-cycle-id for the tests to execute successfully, once Sneeze is enabled.
The plugin starts the Tissue and connects the Sneeze API hooks to the nose plugin API. It also loads and initializes the plugin managers for any Sneeze plugins being used, and attaches them to the Tissue.
Options¶
-
--reporting-db-config=CONFIG_STRING¶ SQLAlchemy formated connection string for reporting database.
-
--test-cycle-name=NAME¶ Name of the test cycle being run.
-
--test-cycle-description=DESCRIPTION¶ Description for the test cycle being run.
-
--test-cycle-id=CYCLE_ID¶ id of test cycle to run tests under. Overrides
--test-cycle-nameand--test-cycle-description.
-
--rerun-from-case-execution=EXECUTION_ID_LIST¶ Case execution id to base rerun upon.
-
--pocket-change-host=HOST¶ url of associated pocket change server.
-
--pocket-change-username=USERNAME¶ username for pocket change user.
-
--pocket-change-password=PASSWORD¶ password for pocket change user.
-
--pocket-change-token=TOKEN¶ token for pocket change user.
-
--pocket-change-environment-envvar=ENVIRONMENT_VAR_NAME¶ Name of environment variable to record as the test environment value.