Home | Trees | Indices | Help |
---|
|
An instance of QMTest.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
__extension_kinds_string = _make_comma_separated_string(base.e A string listing the available extension kinds. |
|||
db_path_environment_variable = "QMTEST_DB_PATH" The environment variable specifying the test database path. |
|||
summary_formats = "brief", "full", "stats", "batch", "none" Valid formats for result summaries. |
|||
context_file_name = "context" The default name of a context file. |
|||
expectations_file_name = "expectations.qmr" The default name of a file containing expectations. |
|||
results_file_name = "results.qmr" The default name of a file containing results. |
|||
target_file_name = "targets" The default name of a file containing targets. |
|||
help_option_spec = "h", "help", None, "Display usage summary."
|
|||
version_option_spec = None, "version", None, "Display version
|
|||
db_path_option_spec = "D", "tdb", "PATH", "Path to the test da
|
|||
extension_output_option_spec = "o", "output", "FILE", "Write t
|
|||
extension_id_option_spec = "i", "id", "NAME", "Write the exten
|
|||
output_option_spec = "o", "output", "FILE", "Write test result
|
|||
no_output_option_spec = None, "no-output", None, "Don't genera
|
|||
outcomes_option_spec = "O", "outcomes", "FILE", "Use expected
|
|||
expectations_option_spec = "e", "expectations", "FILE", "Use e
|
|||
context_option_spec = "c", "context", "KEY=VALUE", "Add or ove
|
|||
context_file_spec = "C", "load-context", "FILE", "Read context
|
|||
daemon_option_spec = None, "daemon", None, "Run as a daemon."
|
|||
port_option_spec = "P", "port", "PORT", "Server port number."
|
|||
address_option_spec = "A", "address", "ADDRESS", "Local address."
|
|||
log_file_option_spec = None, "log-file", "PATH", "Log file name."
|
|||
no_browser_option_spec = None, "no-browser", None, "Do not ope
|
|||
pid_file_option_spec = None, "pid-file", "PATH", "Process ID f
|
|||
concurrent_option_spec = "j", "concurrency", "COUNT", "Execute
|
|||
targets_option_spec = "T", "targets", "FILE", "Use FILE as the
|
|||
random_option_spec = None, "random", None, "Run the tests in a
|
|||
rerun_option_spec = None, "rerun", "FILE", "Rerun the tests th
|
|||
seed_option_spec = None, "seed", "INTEGER", "Seed the random n
|
|||
format_option_spec = "f", "format", "FORMAT", "Specify the sum
|
|||
result_stream_spec = None, "result-stream", "CLASS-NAME", "Spe
|
|||
annotation_option_spec = "a", "annotate", "NAME=VALUE", "Set a
|
|||
tdb_class_option_spec = "c", "class", "CLASS-NAME", "Specify t
|
|||
attribute_option_spec = "a", "attribute", "NAME", "Get an attr
|
|||
set_attribute_option_spec = "a", "attribute", "KEY=VALUE", "Se
|
|||
extension_kind_option_spec = "k", "kind", "EXTENSION-KIND", "S
|
|||
report_output_option_spec = "o", "output", "FILE", "Write test
|
|||
report_flat_option_spec = "f", "flat", None, """Generate a fla
|
|||
results_option_spec = "R", "results", "DIRECTORY", "Read in al
|
|||
list_long_option_spec = "l", "long", None, "Use a detailed out
|
|||
list_details_option_spec = "d", "details", None, "Display deta
|
|||
list_recursive_option_spec = "R", "recursive", None, "Recursiv
|
|||
conflicting_option_specs = output_option_spec, no_output_optio
|
|||
global_options_spec = [help_option_spec, version_option_spec,
|
|||
commands_spec = [("create", "Create (or update) an extension."
|
|||
__version_output = "QMTest %s\n" "Copyright (C) 2002 - 2007 Co The string printed when the --version option is used. |
|
Construct a new QMTest. Parses the argument list but does not execute the command. 'argument_list' -- The arguments to QMTest, not including the initial argv[0]. 'path' -- The path to the QMTest executable. |
Return true if 'option' was specified as a global command. 'command' -- The long name of the option, but without the preceding "--". returns -- True if the option is present. |
Return the value of command 'option'. 'option' -- The long form of an command-specific option. 'default' -- The default value to be returned if the 'option' was not specified. This option should be the kind of an option that takes an argument. returns -- The value specified by the option, or 'default' if the option was not specified. |
Execute the command. returns -- 0 if the command was executed successfully. 1 if there was a problem or if any tests run had unexpected outcomes. |
Return the test database to use. returns -- The 'Database' to use for this execution. Raises an exception if no 'Database' is available. |
Return the test database to use. returns -- The 'Database' to use for this execution, or 'None' if no 'Database' is available. |
Return the path to the file containing target specifications. returns -- The path to the file containing target specifications. |
Return the 'Target's specified in 'file_name'. returns -- A list of the 'Target' objects specified in the target specification file 'file_name'. |
Return the 'Target' objects specified by the user. returns -- A sequence of 'Target' objects. |
Return the 'Tracer' associated with this instance of QMTest. returns -- The 'Tracer' associated with this instance of QMTest. |
Return the path to the QMTest executable. returns -- A string giving the path to the QMTest executable. This is the path that should be used to invoke QMTest recursively. Returns 'None' if the path to the QMTest executable is uknown. |
Return the 'ResultStream' class used for results files. returns -- The 'ResultStream' class used for results files. |
Return the 'ResultStream' class used for textual feedback. returns -- the 'ResultStream' class used for textual feedback. |
Return the attributes specified on the command line. 'expect_value' -- True if the attribute is to be parsed as an assignment. returns -- A dictionary. If expect_value is True, it maps attribute names (strings) to values (strings). Else it contains the raw attribute strings, mapping to None. There is an entry for each attribute specified with '--attribute' on the command line. |
Return all annotate options. returns -- A dictionary containing the annotation name / value pairs. |
Handle the command for creating a new test database. 'db_path' -- The path at which to create the new test database. |
Write out help information about 'command'. 'command' -- The name of the command for which help information is required. |
Return those tests from 'test_ids' that should be run. 'test_ids' -- A sequence of test ids. 'expectations' -- An ExpectationDatabase. returns -- Those elements of 'test_names' that are not to be skipped. If 'a' precedes 'b' in 'test_ids', and both 'a' and 'b' are present in the result, 'a' will precede 'b' in the result. |
Check that 'kind' is a valid extension kind. 'kind' -- A string giving the name of an extension kind. If the 'kind' does not name a valid extension kind, an appropriate exception is raised. |
Return the result streams to use. 'output_file' -- If not 'None', the name of a file to which the standard results file format should be written. 'annotations' -- A dictionary with annotations for this test run. 'expectations' -- An ExpectationDatabase. returns -- A list of 'ResultStream' objects, as indicated by the user. |
|
__extension_kinds_stringA string listing the available extension kinds.
|
version_option_spec
|
db_path_option_spec
|
extension_output_option_spec
|
extension_id_option_spec
|
output_option_spec
|
no_output_option_spec
|
outcomes_option_spec
|
expectations_option_spec
|
context_option_spec
|
context_file_spec
|
no_browser_option_spec
|
pid_file_option_spec
|
concurrent_option_spec
|
targets_option_spec
|
random_option_spec
|
rerun_option_spec
|
seed_option_spec
|
format_option_spec
|
result_stream_spec
|
annotation_option_spec
|
tdb_class_option_spec
|
attribute_option_spec
|
set_attribute_option_spec
|
extension_kind_option_spec
|
report_output_option_spec
|
report_flat_option_spec
|
results_option_spec
|
list_long_option_spec
|
list_details_option_spec
|
list_recursive_option_spec
|
conflicting_option_specs
|
global_options_spec
|
commands_spec
|
__version_outputThe string printed when the --version option is used. There is one fill-in, for a string, which should contain the version number.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:41 2011 | http://epydoc.sourceforge.net |