testplan.testing package
Subpackages
- testplan.testing.multitest package
- Subpackages
- testplan.testing.multitest.driver package
- Subpackages
- testplan.testing.multitest.driver.tcp package
- Submodules
- testplan.testing.multitest.driver.tcp.client module
TCPClientTCPClient.CONFIGTCPClient.EXTRACTORSTCPClient.STATUSTCPClient.abort()TCPClient.abort_dependencies()TCPClient.abortedTCPClient.aborting()TCPClient.activeTCPClient.async_startTCPClient.auto_startTCPClient.cfgTCPClient.close()TCPClient.connect()TCPClient.connection_identifierTCPClient.contextTCPClient.context_input()TCPClient.define_runpath()TCPClient.errpathTCPClient.extract_values()TCPClient.failover()TCPClient.fetch_error_log()TCPClient.filter_locals()TCPClient.force_started()TCPClient.force_stop()TCPClient.get_connections()TCPClient.hostTCPClient.install_files()TCPClient.is_aliveTCPClient.local_hostTCPClient.local_portTCPClient.loggerTCPClient.logpathTCPClient.make_runpath_dirs()TCPClient.nameTCPClient.outpathTCPClient.parentTCPClient.pause()TCPClient.pausing()TCPClient.pending_work()TCPClient.portTCPClient.post_start()TCPClient.post_stop()TCPClient.pre_start()TCPClient.pre_stop()TCPClient.receive()TCPClient.receive_text()TCPClient.reconnect()TCPClient.register_failover()TCPClient.reportTCPClient.restart()TCPClient.resume()TCPClient.resuming()TCPClient.runpathTCPClient.scratchTCPClient.send()TCPClient.send_text()TCPClient.send_tsp()TCPClient.server_portTCPClient.start()TCPClient.start_timeoutTCPClient.started_check()TCPClient.started_check_intervalTCPClient.starting()TCPClient.statusTCPClient.stop()TCPClient.stop_timeoutTCPClient.stopped_check()TCPClient.stopped_check_intervalTCPClient.stopped_check_with_watch()TCPClient.stopping()TCPClient.timerTCPClient.uid()TCPClient.wait()
TCPClientConfig
- testplan.testing.multitest.driver.tcp.server module
TCPServerTCPServer.CONFIGTCPServer.EXTRACTORSTCPServer.STATUSTCPServer.abort()TCPServer.abort_dependencies()TCPServer.abortedTCPServer.aborting()TCPServer.accept_connection()TCPServer.activeTCPServer.async_startTCPServer.auto_startTCPServer.cfgTCPServer.close_connection()TCPServer.connection_identifierTCPServer.contextTCPServer.context_input()TCPServer.define_runpath()TCPServer.errpathTCPServer.extract_values()TCPServer.failover()TCPServer.fetch_error_log()TCPServer.filter_locals()TCPServer.force_started()TCPServer.force_stop()TCPServer.get_connections()TCPServer.hostTCPServer.install_files()TCPServer.is_aliveTCPServer.local_hostTCPServer.local_portTCPServer.loggerTCPServer.logpathTCPServer.make_runpath_dirs()TCPServer.nameTCPServer.outpathTCPServer.parentTCPServer.pause()TCPServer.pausing()TCPServer.pending_work()TCPServer.portTCPServer.post_start()TCPServer.post_stop()TCPServer.pre_start()TCPServer.pre_stop()TCPServer.receive()TCPServer.receive_text()TCPServer.register_failover()TCPServer.reportTCPServer.restart()TCPServer.resume()TCPServer.resuming()TCPServer.runpathTCPServer.scratchTCPServer.send()TCPServer.send_text()TCPServer.socketTCPServer.start()TCPServer.start_timeoutTCPServer.started_check()TCPServer.started_check_intervalTCPServer.starting()TCPServer.statusTCPServer.stop()TCPServer.stop_timeoutTCPServer.stopped_check()TCPServer.stopped_check_intervalTCPServer.stopped_check_with_watch()TCPServer.stopping()TCPServer.timerTCPServer.uid()TCPServer.wait()
TCPServerConfig
- testplan.testing.multitest.driver.tcp.client module
- Module contents
- Submodules
- testplan.testing.multitest.driver.zmq package
- Submodules
- testplan.testing.multitest.driver.zmq.client module
ZMQClientZMQClient.CONFIGZMQClient.EXTRACTORSZMQClient.STATUSZMQClient.abort()ZMQClient.abort_dependencies()ZMQClient.abortedZMQClient.aborting()ZMQClient.activeZMQClient.async_startZMQClient.auto_startZMQClient.cfgZMQClient.connect()ZMQClient.contextZMQClient.context_input()ZMQClient.define_runpath()ZMQClient.disconnect()ZMQClient.errpathZMQClient.extract_values()ZMQClient.failover()ZMQClient.fetch_error_log()ZMQClient.filter_locals()ZMQClient.flush()ZMQClient.force_started()ZMQClient.force_stop()ZMQClient.get_connections()ZMQClient.hostsZMQClient.install_files()ZMQClient.is_aliveZMQClient.loggerZMQClient.logpathZMQClient.make_runpath_dirs()ZMQClient.nameZMQClient.outpathZMQClient.parentZMQClient.pause()ZMQClient.pausing()ZMQClient.pending_work()ZMQClient.portsZMQClient.post_start()ZMQClient.post_stop()ZMQClient.pre_start()ZMQClient.pre_stop()ZMQClient.receive()ZMQClient.reconnect()ZMQClient.register_failover()ZMQClient.reportZMQClient.restart()ZMQClient.resume()ZMQClient.resuming()ZMQClient.runpathZMQClient.scratchZMQClient.send()ZMQClient.start()ZMQClient.start_timeoutZMQClient.started_check()ZMQClient.started_check_intervalZMQClient.starting()ZMQClient.statusZMQClient.stop()ZMQClient.stop_timeoutZMQClient.stopped_check()ZMQClient.stopped_check_intervalZMQClient.stopped_check_with_watch()ZMQClient.stopping()ZMQClient.subscribe()ZMQClient.timerZMQClient.uid()ZMQClient.unsubscribe()ZMQClient.wait()
ZMQClientConfig
- testplan.testing.multitest.driver.zmq.server module
ZMQServerZMQServer.CONFIGZMQServer.EXTRACTORSZMQServer.STATUSZMQServer.abort()ZMQServer.abort_dependencies()ZMQServer.abortedZMQServer.aborting()ZMQServer.activeZMQServer.async_startZMQServer.auto_startZMQServer.cfgZMQServer.connection_identifierZMQServer.contextZMQServer.context_input()ZMQServer.define_runpath()ZMQServer.errpathZMQServer.extract_values()ZMQServer.failover()ZMQServer.fetch_error_log()ZMQServer.filter_locals()ZMQServer.force_started()ZMQServer.force_stop()ZMQServer.get_connections()ZMQServer.hostZMQServer.install_files()ZMQServer.is_aliveZMQServer.local_hostZMQServer.local_portZMQServer.loggerZMQServer.logpathZMQServer.make_runpath_dirs()ZMQServer.nameZMQServer.outpathZMQServer.parentZMQServer.pause()ZMQServer.pausing()ZMQServer.pending_work()ZMQServer.portZMQServer.post_start()ZMQServer.post_stop()ZMQServer.pre_start()ZMQServer.pre_stop()ZMQServer.receive()ZMQServer.register_failover()ZMQServer.reportZMQServer.restart()ZMQServer.resume()ZMQServer.resuming()ZMQServer.runpathZMQServer.scratchZMQServer.send()ZMQServer.socketZMQServer.start()ZMQServer.start_timeoutZMQServer.started_check()ZMQServer.started_check_intervalZMQServer.starting()ZMQServer.statusZMQServer.stop()ZMQServer.stop_timeoutZMQServer.stopped_check()ZMQServer.stopped_check_intervalZMQServer.stopped_check_with_watch()ZMQServer.stopping()ZMQServer.timerZMQServer.uid()ZMQServer.wait()
ZMQServerConfig
- testplan.testing.multitest.driver.zmq.client module
- Module contents
- Submodules
- testplan.testing.multitest.driver.fix package
- Submodules
- testplan.testing.multitest.driver.fix.client module
FixClientFixClient.CONFIGFixClient.EXTRACTORSFixClient.STATUSFixClient.abort()FixClient.abort_dependencies()FixClient.abortedFixClient.aborting()FixClient.activeFixClient.async_startFixClient.auto_startFixClient.cfgFixClient.connect()FixClient.connection_identifierFixClient.contextFixClient.context_input()FixClient.define_runpath()FixClient.errpathFixClient.extract_values()FixClient.failover()FixClient.fetch_error_log()FixClient.filter_locals()FixClient.flush()FixClient.force_started()FixClient.force_stop()FixClient.get_connections()FixClient.hostFixClient.install_files()FixClient.is_aliveFixClient.local_hostFixClient.local_portFixClient.loggerFixClient.logoff()FixClient.logon()FixClient.logpathFixClient.make_runpath_dirs()FixClient.nameFixClient.outpathFixClient.parentFixClient.pause()FixClient.pausing()FixClient.pending_work()FixClient.portFixClient.post_start()FixClient.post_stop()FixClient.pre_start()FixClient.pre_stop()FixClient.receive()FixClient.reconnect()FixClient.register_failover()FixClient.reportFixClient.restart()FixClient.resume()FixClient.resuming()FixClient.runpathFixClient.scratchFixClient.send()FixClient.send_tsp()FixClient.senderFixClient.sendersubFixClient.start()FixClient.start_timeoutFixClient.started_check()FixClient.started_check_intervalFixClient.starting()FixClient.statusFixClient.stop()FixClient.stop_timeoutFixClient.stopped_check()FixClient.stopped_check_intervalFixClient.stopped_check_with_watch()FixClient.stopping()FixClient.targetFixClient.timerFixClient.uid()FixClient.wait()
FixClientConfig
- testplan.testing.multitest.driver.fix.server module
FixServerFixServer.CONFIGFixServer.EXTRACTORSFixServer.STATUSFixServer.abort()FixServer.abort_dependencies()FixServer.abortedFixServer.aborting()FixServer.activeFixServer.active_connections()FixServer.async_startFixServer.auto_startFixServer.cfgFixServer.connection_identifierFixServer.contextFixServer.context_input()FixServer.define_runpath()FixServer.errpathFixServer.extract_values()FixServer.failover()FixServer.fetch_error_log()FixServer.filter_locals()FixServer.flush()FixServer.force_started()FixServer.force_stop()FixServer.get_connections()FixServer.hostFixServer.install_files()FixServer.is_aliveFixServer.is_connection_active()FixServer.local_hostFixServer.local_portFixServer.loggerFixServer.logpathFixServer.make_runpath_dirs()FixServer.nameFixServer.outpathFixServer.parentFixServer.pause()FixServer.pausing()FixServer.pending_work()FixServer.portFixServer.post_start()FixServer.post_stop()FixServer.pre_start()FixServer.pre_stop()FixServer.receive()FixServer.register_failover()FixServer.reportFixServer.restart()FixServer.resume()FixServer.resuming()FixServer.runpathFixServer.scratchFixServer.send()FixServer.start()FixServer.start_timeoutFixServer.started_check()FixServer.started_check_intervalFixServer.starting()FixServer.statusFixServer.stop()FixServer.stop_timeoutFixServer.stopped_check()FixServer.stopped_check_intervalFixServer.stopped_check_with_watch()FixServer.stopping()FixServer.timerFixServer.uid()FixServer.wait()
FixServerConfig
- testplan.testing.multitest.driver.fix.client module
- Module contents
- Submodules
- testplan.testing.multitest.driver.http package
- Submodules
- testplan.testing.multitest.driver.http.client module
HTTPClientHTTPClient.CONFIGHTTPClient.EXTRACTORSHTTPClient.STATUSHTTPClient.abort()HTTPClient.abort_dependencies()HTTPClient.abortedHTTPClient.aborting()HTTPClient.activeHTTPClient.async_startHTTPClient.auto_startHTTPClient.cfgHTTPClient.connection_identifierHTTPClient.contextHTTPClient.context_input()HTTPClient.define_runpath()HTTPClient.delete()HTTPClient.errpathHTTPClient.extract_values()HTTPClient.failover()HTTPClient.fetch_error_log()HTTPClient.filter_locals()HTTPClient.flush()HTTPClient.force_started()HTTPClient.force_stop()HTTPClient.get()HTTPClient.get_connections()HTTPClient.head()HTTPClient.hostHTTPClient.install_files()HTTPClient.is_aliveHTTPClient.loggerHTTPClient.logpathHTTPClient.make_runpath_dirs()HTTPClient.nameHTTPClient.options()HTTPClient.outpathHTTPClient.parentHTTPClient.patch()HTTPClient.pause()HTTPClient.pausing()HTTPClient.pending_work()HTTPClient.portHTTPClient.post()HTTPClient.post_start()HTTPClient.post_stop()HTTPClient.pre_start()HTTPClient.pre_stop()HTTPClient.put()HTTPClient.receive()HTTPClient.register_failover()HTTPClient.reportHTTPClient.restart()HTTPClient.resume()HTTPClient.resuming()HTTPClient.runpathHTTPClient.scratchHTTPClient.send()HTTPClient.start()HTTPClient.start_timeoutHTTPClient.started_check()HTTPClient.started_check_intervalHTTPClient.starting()HTTPClient.statusHTTPClient.stop()HTTPClient.stop_timeoutHTTPClient.stopped_check()HTTPClient.stopped_check_intervalHTTPClient.stopped_check_with_watch()HTTPClient.stopping()HTTPClient.timerHTTPClient.uid()HTTPClient.wait()
HTTPClientConfig
- testplan.testing.multitest.driver.http.server module
HTTPRequestHandlerHTTPRequestHandler.MessageClassHTTPRequestHandler.address_string()HTTPRequestHandler.date_time_string()HTTPRequestHandler.default_request_versionHTTPRequestHandler.disable_nagle_algorithmHTTPRequestHandler.do_DELETE()HTTPRequestHandler.do_GET()HTTPRequestHandler.do_HEAD()HTTPRequestHandler.do_OPTIONS()HTTPRequestHandler.do_PATCH()HTTPRequestHandler.do_POST()HTTPRequestHandler.do_PUT()HTTPRequestHandler.end_headers()HTTPRequestHandler.error_content_typeHTTPRequestHandler.error_message_formatHTTPRequestHandler.finish()HTTPRequestHandler.flush_headers()HTTPRequestHandler.get_response()HTTPRequestHandler.handle()HTTPRequestHandler.handle_expect_100()HTTPRequestHandler.handle_one_request()HTTPRequestHandler.log_date_time_string()HTTPRequestHandler.log_error()HTTPRequestHandler.log_message()HTTPRequestHandler.log_request()HTTPRequestHandler.monthnameHTTPRequestHandler.parse_request()HTTPRequestHandler.protocol_versionHTTPRequestHandler.rbufsizeHTTPRequestHandler.responsesHTTPRequestHandler.send_error()HTTPRequestHandler.send_header()HTTPRequestHandler.send_response()HTTPRequestHandler.send_response_only()HTTPRequestHandler.server_versionHTTPRequestHandler.setup()HTTPRequestHandler.sys_versionHTTPRequestHandler.timeoutHTTPRequestHandler.version_string()HTTPRequestHandler.wbufsizeHTTPRequestHandler.weekdayname
HTTPResponseHTTPServerHTTPServer.CONFIGHTTPServer.EXTRACTORSHTTPServer.STATUSHTTPServer.abort()HTTPServer.abort_dependencies()HTTPServer.abortedHTTPServer.aborting()HTTPServer.activeHTTPServer.async_startHTTPServer.auto_startHTTPServer.cfgHTTPServer.connection_identifierHTTPServer.contextHTTPServer.context_input()HTTPServer.define_runpath()HTTPServer.errpathHTTPServer.extract_values()HTTPServer.failover()HTTPServer.fetch_error_log()HTTPServer.filter_locals()HTTPServer.flush_request_queue()HTTPServer.force_started()HTTPServer.force_stop()HTTPServer.get_connections()HTTPServer.get_full_request()HTTPServer.get_request()HTTPServer.hostHTTPServer.install_files()HTTPServer.is_aliveHTTPServer.local_hostHTTPServer.local_portHTTPServer.loggerHTTPServer.logpathHTTPServer.make_runpath_dirs()HTTPServer.nameHTTPServer.outpathHTTPServer.parentHTTPServer.pause()HTTPServer.pausing()HTTPServer.pending_work()HTTPServer.portHTTPServer.post_start()HTTPServer.post_stop()HTTPServer.pre_start()HTTPServer.pre_stop()HTTPServer.queue_response()HTTPServer.receive()HTTPServer.register_failover()HTTPServer.reportHTTPServer.respond()HTTPServer.restart()HTTPServer.resume()HTTPServer.resuming()HTTPServer.runpathHTTPServer.scratchHTTPServer.start()HTTPServer.start_timeoutHTTPServer.started_check()HTTPServer.started_check_intervalHTTPServer.starting()HTTPServer.statusHTTPServer.stop()HTTPServer.stop_timeoutHTTPServer.stopped_check()HTTPServer.stopped_check_intervalHTTPServer.stopped_check_with_watch()HTTPServer.stopping()HTTPServer.timerHTTPServer.uid()HTTPServer.wait()
HTTPServerConfigReceivedRequest
- testplan.testing.multitest.driver.http.client module
- Module contents
- Submodules
- testplan.testing.multitest.driver.connection package
- Submodules
- testplan.testing.multitest.driver.connection.base module
- testplan.testing.multitest.driver.connection.connection_info module
- testplan.testing.multitest.driver.connection.connection_extractor module
- Module contents
- Submodules
- testplan.testing.multitest.driver.tcp package
- Submodules
- testplan.testing.multitest.driver.app module
AppApp.CONFIGApp.EXTRACTORSApp.STATUSApp.abort()App.abort_dependencies()App.abortedApp.aborting()App.activeApp.alive_child_procsApp.app_pathApp.async_startApp.auto_startApp.binaryApp.binpathApp.cfgApp.cmdApp.contextApp.context_input()App.define_runpath()App.envApp.errpathApp.etcpathApp.extract_values()App.failover()App.fetch_error_log()App.filter_locals()App.force_started()App.force_stop()App.get_connections()App.hostnameApp.install_files()App.is_aliveApp.log_matcherApp.loggerApp.lognameApp.logpathApp.make_runpath_dirs()App.nameApp.outpathApp.parentApp.pause()App.pausing()App.pending_work()App.pidApp.post_start()App.post_stop()App.pre_start()App.pre_stop()App.register_failover()App.reportApp.resolved_binApp.restart()App.resume()App.resuming()App.retcodeApp.runpathApp.scratchApp.start()App.start_timeoutApp.started_check()App.started_check_intervalApp.starting()App.statusApp.stop()App.stop_timeoutApp.stopped_check()App.stopped_check_intervalApp.stopped_check_with_watch()App.stopping()App.timerApp.uid()App.wait()
AppConfigOrphanedProcessException
- testplan.testing.multitest.driver.base module
DriverDriver.CONFIGDriver.EXTRACTORSDriver.aborting()Driver.async_startDriver.errpathDriver.extract_values()Driver.fetch_error_log()Driver.get_connections()Driver.install_files()Driver.logpathDriver.nameDriver.outpathDriver.pre_start()Driver.start_timeoutDriver.started_check()Driver.started_check_intervalDriver.starting()Driver.stop_timeoutDriver.stopped_check()Driver.stopped_check_intervalDriver.stopped_check_with_watch()Driver.stopping()Driver.uid()Driver.wait()
DriverConfig
- testplan.testing.multitest.driver.sqlite module
Sqlite3Sqlite3.CONFIGSqlite3.EXTRACTORSSqlite3.STATUSSqlite3.abort()Sqlite3.abort_dependencies()Sqlite3.abortedSqlite3.aborting()Sqlite3.activeSqlite3.async_startSqlite3.auto_startSqlite3.cfgSqlite3.commit()Sqlite3.commit_at_exit()Sqlite3.connect()Sqlite3.contextSqlite3.context_input()Sqlite3.db_pathSqlite3.define_runpath()Sqlite3.errpathSqlite3.execute()Sqlite3.executemany()Sqlite3.extract_values()Sqlite3.failover()Sqlite3.fetch_error_log()Sqlite3.fetch_table()Sqlite3.fetchall()Sqlite3.fetchone()Sqlite3.filter_locals()Sqlite3.force_started()Sqlite3.force_stop()Sqlite3.get_connections()Sqlite3.install_files()Sqlite3.is_aliveSqlite3.loggerSqlite3.logpathSqlite3.make_runpath_dirs()Sqlite3.nameSqlite3.outpathSqlite3.parentSqlite3.pause()Sqlite3.pausing()Sqlite3.pending_work()Sqlite3.post_start()Sqlite3.post_stop()Sqlite3.pre_start()Sqlite3.pre_stop()Sqlite3.register_failover()Sqlite3.reportSqlite3.restart()Sqlite3.resume()Sqlite3.resuming()Sqlite3.runpathSqlite3.scratchSqlite3.start()Sqlite3.start_timeoutSqlite3.started_check()Sqlite3.started_check_intervalSqlite3.starting()Sqlite3.statusSqlite3.stop()Sqlite3.stop_timeoutSqlite3.stopped_check()Sqlite3.stopped_check_intervalSqlite3.stopped_check_with_watch()Sqlite3.stopping()Sqlite3.timerSqlite3.uid()Sqlite3.wait()
Sqlite3Config
- testplan.testing.multitest.driver.kafka module
- testplan.testing.multitest.driver.zookeeper module
ZookeeperStandaloneZookeeperStandalone.CONFIGZookeeperStandalone.EXTRACTORSZookeeperStandalone.connection_identifierZookeeperStandalone.connection_strZookeeperStandalone.envZookeeperStandalone.hostZookeeperStandalone.local_hostZookeeperStandalone.local_portZookeeperStandalone.portZookeeperStandalone.post_start()ZookeeperStandalone.pre_start()ZookeeperStandalone.starting()ZookeeperStandalone.stopping()
ZookeeperStandaloneConfig
- testplan.testing.multitest.driver.app module
- Module contents
DriverDriver.CONFIGDriver.EXTRACTORSDriver.aborting()Driver.async_startDriver.errpathDriver.extract_values()Driver.fetch_error_log()Driver.get_connections()Driver.install_files()Driver.logpathDriver.nameDriver.outpathDriver.pre_start()Driver.start_timeoutDriver.started_check()Driver.started_check_intervalDriver.starting()Driver.stop_timeoutDriver.stopped_check()Driver.stopped_check_intervalDriver.stopped_check_with_watch()Driver.stopping()Driver.uid()Driver.wait()
DriverConfig
- Subpackages
- testplan.testing.multitest.entries package
- Subpackages
- testplan.testing.multitest.entries.schemas package
- Submodules
- testplan.testing.multitest.entries.schemas.assertions module
ApproximateEqualitySchemaApproximateEqualitySchema.MetaApproximateEqualitySchema.Meta.additionalApproximateEqualitySchema.Meta.dateformatApproximateEqualitySchema.Meta.datetimeformatApproximateEqualitySchema.Meta.dump_onlyApproximateEqualitySchema.Meta.excludeApproximateEqualitySchema.Meta.fieldsApproximateEqualitySchema.Meta.includeApproximateEqualitySchema.Meta.index_errorsApproximateEqualitySchema.Meta.load_onlyApproximateEqualitySchema.Meta.manyApproximateEqualitySchema.Meta.orderedApproximateEqualitySchema.Meta.registerApproximateEqualitySchema.Meta.render_moduleApproximateEqualitySchema.Meta.timeformatApproximateEqualitySchema.Meta.unknown
ApproximateEqualitySchema.OPTIONS_CLASSApproximateEqualitySchema.TYPE_MAPPINGApproximateEqualitySchema.dict_classApproximateEqualitySchema.dump()ApproximateEqualitySchema.dumps()ApproximateEqualitySchema.error_messagesApproximateEqualitySchema.fieldsApproximateEqualitySchema.from_dict()ApproximateEqualitySchema.get_attribute()ApproximateEqualitySchema.handle_error()ApproximateEqualitySchema.load()ApproximateEqualitySchema.loads()ApproximateEqualitySchema.on_bind_field()ApproximateEqualitySchema.optsApproximateEqualitySchema.set_classApproximateEqualitySchema.streamline()ApproximateEqualitySchema.validate()
AssertionSchemaAssertionSchema.MetaAssertionSchema.Meta.additionalAssertionSchema.Meta.dateformatAssertionSchema.Meta.datetimeformatAssertionSchema.Meta.dump_onlyAssertionSchema.Meta.excludeAssertionSchema.Meta.fieldsAssertionSchema.Meta.includeAssertionSchema.Meta.index_errorsAssertionSchema.Meta.load_onlyAssertionSchema.Meta.manyAssertionSchema.Meta.orderedAssertionSchema.Meta.registerAssertionSchema.Meta.render_moduleAssertionSchema.Meta.timeformatAssertionSchema.Meta.unknown
AssertionSchema.OPTIONS_CLASSAssertionSchema.TYPE_MAPPINGAssertionSchema.dict_classAssertionSchema.dump()AssertionSchema.dumps()AssertionSchema.error_messagesAssertionSchema.fieldsAssertionSchema.from_dict()AssertionSchema.get_attribute()AssertionSchema.handle_error()AssertionSchema.load()AssertionSchema.loads()AssertionSchema.on_bind_field()AssertionSchema.optsAssertionSchema.set_classAssertionSchema.streamline()AssertionSchema.validate()
AtMostOneListBooleanSchemaBooleanSchema.MetaBooleanSchema.Meta.additionalBooleanSchema.Meta.dateformatBooleanSchema.Meta.datetimeformatBooleanSchema.Meta.dump_onlyBooleanSchema.Meta.excludeBooleanSchema.Meta.fieldsBooleanSchema.Meta.includeBooleanSchema.Meta.index_errorsBooleanSchema.Meta.load_onlyBooleanSchema.Meta.manyBooleanSchema.Meta.orderedBooleanSchema.Meta.registerBooleanSchema.Meta.render_moduleBooleanSchema.Meta.timeformatBooleanSchema.Meta.unknown
BooleanSchema.OPTIONS_CLASSBooleanSchema.TYPE_MAPPINGBooleanSchema.dict_classBooleanSchema.dump()BooleanSchema.dump_fieldsBooleanSchema.dumps()BooleanSchema.error_messagesBooleanSchema.excludeBooleanSchema.fieldsBooleanSchema.from_dict()BooleanSchema.get_attribute()BooleanSchema.handle_error()BooleanSchema.load()BooleanSchema.load_fieldsBooleanSchema.loads()BooleanSchema.on_bind_field()BooleanSchema.optsBooleanSchema.set_classBooleanSchema.streamline()BooleanSchema.validate()
ColumnContainSchemaColumnContainSchema.MetaColumnContainSchema.Meta.additionalColumnContainSchema.Meta.dateformatColumnContainSchema.Meta.datetimeformatColumnContainSchema.Meta.dump_onlyColumnContainSchema.Meta.excludeColumnContainSchema.Meta.fieldsColumnContainSchema.Meta.includeColumnContainSchema.Meta.index_errorsColumnContainSchema.Meta.load_onlyColumnContainSchema.Meta.manyColumnContainSchema.Meta.orderedColumnContainSchema.Meta.registerColumnContainSchema.Meta.render_moduleColumnContainSchema.Meta.timeformatColumnContainSchema.Meta.unknown
ColumnContainSchema.OPTIONS_CLASSColumnContainSchema.TYPE_MAPPINGColumnContainSchema.dict_classColumnContainSchema.dump()ColumnContainSchema.dump_fieldsColumnContainSchema.dumps()ColumnContainSchema.error_messagesColumnContainSchema.excludeColumnContainSchema.fieldsColumnContainSchema.from_dict()ColumnContainSchema.get_attribute()ColumnContainSchema.handle_error()ColumnContainSchema.load()ColumnContainSchema.load_fieldsColumnContainSchema.loads()ColumnContainSchema.on_bind_field()ColumnContainSchema.optsColumnContainSchema.set_classColumnContainSchema.streamline()ColumnContainSchema.validate()
DictCheckSchemaDictCheckSchema.MetaDictCheckSchema.Meta.additionalDictCheckSchema.Meta.dateformatDictCheckSchema.Meta.datetimeformatDictCheckSchema.Meta.dump_onlyDictCheckSchema.Meta.excludeDictCheckSchema.Meta.fieldsDictCheckSchema.Meta.includeDictCheckSchema.Meta.index_errorsDictCheckSchema.Meta.load_onlyDictCheckSchema.Meta.manyDictCheckSchema.Meta.orderedDictCheckSchema.Meta.registerDictCheckSchema.Meta.render_moduleDictCheckSchema.Meta.timeformatDictCheckSchema.Meta.unknown
DictCheckSchema.OPTIONS_CLASSDictCheckSchema.TYPE_MAPPINGDictCheckSchema.dict_classDictCheckSchema.dump()DictCheckSchema.dump_fieldsDictCheckSchema.dumps()DictCheckSchema.error_messagesDictCheckSchema.excludeDictCheckSchema.fieldsDictCheckSchema.from_dict()DictCheckSchema.get_attribute()DictCheckSchema.handle_error()DictCheckSchema.load()DictCheckSchema.load_fieldsDictCheckSchema.loads()DictCheckSchema.on_bind_field()DictCheckSchema.optsDictCheckSchema.set_classDictCheckSchema.streamline()DictCheckSchema.validate()
DictMatchAllSchemaDictMatchAllSchema.MetaDictMatchAllSchema.Meta.additionalDictMatchAllSchema.Meta.dateformatDictMatchAllSchema.Meta.datetimeformatDictMatchAllSchema.Meta.dump_onlyDictMatchAllSchema.Meta.excludeDictMatchAllSchema.Meta.fieldsDictMatchAllSchema.Meta.includeDictMatchAllSchema.Meta.index_errorsDictMatchAllSchema.Meta.load_onlyDictMatchAllSchema.Meta.manyDictMatchAllSchema.Meta.orderedDictMatchAllSchema.Meta.registerDictMatchAllSchema.Meta.render_moduleDictMatchAllSchema.Meta.timeformatDictMatchAllSchema.Meta.unknown
DictMatchAllSchema.OPTIONS_CLASSDictMatchAllSchema.TYPE_MAPPINGDictMatchAllSchema.compress_level()DictMatchAllSchema.dict_classDictMatchAllSchema.dump()DictMatchAllSchema.dump_fieldsDictMatchAllSchema.dumps()DictMatchAllSchema.error_messagesDictMatchAllSchema.excludeDictMatchAllSchema.fieldsDictMatchAllSchema.from_dict()DictMatchAllSchema.get_attribute()DictMatchAllSchema.handle_error()DictMatchAllSchema.load()DictMatchAllSchema.load_fieldsDictMatchAllSchema.loads()DictMatchAllSchema.on_bind_field()DictMatchAllSchema.optsDictMatchAllSchema.set_classDictMatchAllSchema.streamline()DictMatchAllSchema.validate()
DictMatchSchemaDictMatchSchema.MetaDictMatchSchema.Meta.additionalDictMatchSchema.Meta.dateformatDictMatchSchema.Meta.datetimeformatDictMatchSchema.Meta.dump_onlyDictMatchSchema.Meta.excludeDictMatchSchema.Meta.fieldsDictMatchSchema.Meta.includeDictMatchSchema.Meta.index_errorsDictMatchSchema.Meta.load_onlyDictMatchSchema.Meta.manyDictMatchSchema.Meta.orderedDictMatchSchema.Meta.registerDictMatchSchema.Meta.render_moduleDictMatchSchema.Meta.timeformatDictMatchSchema.Meta.unknown
DictMatchSchema.OPTIONS_CLASSDictMatchSchema.TYPE_MAPPINGDictMatchSchema.compress_level()DictMatchSchema.dict_classDictMatchSchema.dump()DictMatchSchema.dump_fieldsDictMatchSchema.dumps()DictMatchSchema.error_messagesDictMatchSchema.excludeDictMatchSchema.fieldsDictMatchSchema.from_dict()DictMatchSchema.get_attribute()DictMatchSchema.handle_error()DictMatchSchema.load()DictMatchSchema.load_fieldsDictMatchSchema.loads()DictMatchSchema.on_bind_field()DictMatchSchema.optsDictMatchSchema.set_classDictMatchSchema.streamline()DictMatchSchema.validate()
EqualSchemaEqualSchema.MetaEqualSchema.Meta.additionalEqualSchema.Meta.dateformatEqualSchema.Meta.datetimeformatEqualSchema.Meta.dump_onlyEqualSchema.Meta.excludeEqualSchema.Meta.fieldsEqualSchema.Meta.includeEqualSchema.Meta.index_errorsEqualSchema.Meta.load_onlyEqualSchema.Meta.manyEqualSchema.Meta.orderedEqualSchema.Meta.registerEqualSchema.Meta.render_moduleEqualSchema.Meta.timeformatEqualSchema.Meta.unknown
EqualSchema.OPTIONS_CLASSEqualSchema.TYPE_MAPPINGEqualSchema.dict_classEqualSchema.dump()EqualSchema.dump_fieldsEqualSchema.dumps()EqualSchema.error_messagesEqualSchema.excludeEqualSchema.fieldsEqualSchema.from_dict()EqualSchema.get_attribute()EqualSchema.handle_error()EqualSchema.load()EqualSchema.load_fieldsEqualSchema.loads()EqualSchema.on_bind_field()EqualSchema.optsEqualSchema.set_classEqualSchema.streamline()EqualSchema.validate()
EqualSlicesSchemaEqualSlicesSchema.MetaEqualSlicesSchema.Meta.additionalEqualSlicesSchema.Meta.dateformatEqualSlicesSchema.Meta.datetimeformatEqualSlicesSchema.Meta.dump_onlyEqualSlicesSchema.Meta.excludeEqualSlicesSchema.Meta.fieldsEqualSlicesSchema.Meta.includeEqualSlicesSchema.Meta.index_errorsEqualSlicesSchema.Meta.load_onlyEqualSlicesSchema.Meta.manyEqualSlicesSchema.Meta.orderedEqualSlicesSchema.Meta.registerEqualSlicesSchema.Meta.render_moduleEqualSlicesSchema.Meta.timeformatEqualSlicesSchema.Meta.unknown
EqualSlicesSchema.OPTIONS_CLASSEqualSlicesSchema.TYPE_MAPPINGEqualSlicesSchema.dict_classEqualSlicesSchema.dump()EqualSlicesSchema.dump_fieldsEqualSlicesSchema.dumps()EqualSlicesSchema.error_messagesEqualSlicesSchema.excludeEqualSlicesSchema.fieldsEqualSlicesSchema.from_dict()EqualSlicesSchema.get_attribute()EqualSlicesSchema.handle_error()EqualSlicesSchema.load()EqualSlicesSchema.load_fieldsEqualSlicesSchema.loads()EqualSlicesSchema.on_bind_field()EqualSlicesSchema.optsEqualSlicesSchema.set_classEqualSlicesSchema.streamline()EqualSlicesSchema.validate()
ExceptionRaisedSchemaExceptionRaisedSchema.MetaExceptionRaisedSchema.Meta.additionalExceptionRaisedSchema.Meta.dateformatExceptionRaisedSchema.Meta.datetimeformatExceptionRaisedSchema.Meta.dump_onlyExceptionRaisedSchema.Meta.excludeExceptionRaisedSchema.Meta.fieldsExceptionRaisedSchema.Meta.includeExceptionRaisedSchema.Meta.index_errorsExceptionRaisedSchema.Meta.load_onlyExceptionRaisedSchema.Meta.manyExceptionRaisedSchema.Meta.orderedExceptionRaisedSchema.Meta.registerExceptionRaisedSchema.Meta.render_moduleExceptionRaisedSchema.Meta.timeformatExceptionRaisedSchema.Meta.unknown
ExceptionRaisedSchema.OPTIONS_CLASSExceptionRaisedSchema.TYPE_MAPPINGExceptionRaisedSchema.dict_classExceptionRaisedSchema.dump()ExceptionRaisedSchema.dump_fieldsExceptionRaisedSchema.dumps()ExceptionRaisedSchema.error_messagesExceptionRaisedSchema.excludeExceptionRaisedSchema.fieldsExceptionRaisedSchema.from_dict()ExceptionRaisedSchema.get_attribute()ExceptionRaisedSchema.handle_error()ExceptionRaisedSchema.load()ExceptionRaisedSchema.load_fieldsExceptionRaisedSchema.loads()ExceptionRaisedSchema.on_bind_field()ExceptionRaisedSchema.optsExceptionRaisedSchema.set_classExceptionRaisedSchema.streamline()ExceptionRaisedSchema.validate()
FailSchemaFailSchema.MetaFailSchema.Meta.additionalFailSchema.Meta.dateformatFailSchema.Meta.datetimeformatFailSchema.Meta.dump_onlyFailSchema.Meta.excludeFailSchema.Meta.fieldsFailSchema.Meta.includeFailSchema.Meta.index_errorsFailSchema.Meta.load_onlyFailSchema.Meta.manyFailSchema.Meta.orderedFailSchema.Meta.registerFailSchema.Meta.render_moduleFailSchema.Meta.timeformatFailSchema.Meta.unknown
FailSchema.OPTIONS_CLASSFailSchema.TYPE_MAPPINGFailSchema.dict_classFailSchema.dump()FailSchema.dump_fieldsFailSchema.dumps()FailSchema.error_messagesFailSchema.excludeFailSchema.fieldsFailSchema.from_dict()FailSchema.get_attribute()FailSchema.handle_error()FailSchema.load()FailSchema.load_fieldsFailSchema.loads()FailSchema.on_bind_field()FailSchema.optsFailSchema.set_classFailSchema.streamline()FailSchema.validate()
FuncAssertionSchemaFuncAssertionSchema.MetaFuncAssertionSchema.Meta.additionalFuncAssertionSchema.Meta.dateformatFuncAssertionSchema.Meta.datetimeformatFuncAssertionSchema.Meta.dump_onlyFuncAssertionSchema.Meta.excludeFuncAssertionSchema.Meta.fieldsFuncAssertionSchema.Meta.includeFuncAssertionSchema.Meta.index_errorsFuncAssertionSchema.Meta.load_onlyFuncAssertionSchema.Meta.manyFuncAssertionSchema.Meta.orderedFuncAssertionSchema.Meta.registerFuncAssertionSchema.Meta.render_moduleFuncAssertionSchema.Meta.timeformatFuncAssertionSchema.Meta.unknown
FuncAssertionSchema.OPTIONS_CLASSFuncAssertionSchema.TYPE_MAPPINGFuncAssertionSchema.dict_classFuncAssertionSchema.dump()FuncAssertionSchema.dump_fieldsFuncAssertionSchema.dumps()FuncAssertionSchema.error_messagesFuncAssertionSchema.excludeFuncAssertionSchema.fieldsFuncAssertionSchema.from_dict()FuncAssertionSchema.get_attribute()FuncAssertionSchema.handle_error()FuncAssertionSchema.load()FuncAssertionSchema.load_fieldsFuncAssertionSchema.loads()FuncAssertionSchema.on_bind_field()FuncAssertionSchema.optsFuncAssertionSchema.set_classFuncAssertionSchema.streamline()FuncAssertionSchema.validate()
LineDiffSchemaLineDiffSchema.MetaLineDiffSchema.Meta.additionalLineDiffSchema.Meta.dateformatLineDiffSchema.Meta.datetimeformatLineDiffSchema.Meta.dump_onlyLineDiffSchema.Meta.excludeLineDiffSchema.Meta.fieldsLineDiffSchema.Meta.includeLineDiffSchema.Meta.index_errorsLineDiffSchema.Meta.load_onlyLineDiffSchema.Meta.manyLineDiffSchema.Meta.orderedLineDiffSchema.Meta.registerLineDiffSchema.Meta.render_moduleLineDiffSchema.Meta.timeformatLineDiffSchema.Meta.unknown
LineDiffSchema.OPTIONS_CLASSLineDiffSchema.TYPE_MAPPINGLineDiffSchema.dict_classLineDiffSchema.dump()LineDiffSchema.dump_fieldsLineDiffSchema.dumps()LineDiffSchema.error_messagesLineDiffSchema.excludeLineDiffSchema.fieldsLineDiffSchema.from_dict()LineDiffSchema.get_attribute()LineDiffSchema.handle_error()LineDiffSchema.load()LineDiffSchema.load_fieldsLineDiffSchema.loads()LineDiffSchema.on_bind_field()LineDiffSchema.optsLineDiffSchema.set_classLineDiffSchema.streamline()LineDiffSchema.validate()
LogfileMatchResultSchemaLogfileMatchResultSchema.MetaLogfileMatchResultSchema.Meta.additionalLogfileMatchResultSchema.Meta.dateformatLogfileMatchResultSchema.Meta.datetimeformatLogfileMatchResultSchema.Meta.dump_onlyLogfileMatchResultSchema.Meta.excludeLogfileMatchResultSchema.Meta.fieldsLogfileMatchResultSchema.Meta.includeLogfileMatchResultSchema.Meta.index_errorsLogfileMatchResultSchema.Meta.load_onlyLogfileMatchResultSchema.Meta.manyLogfileMatchResultSchema.Meta.orderedLogfileMatchResultSchema.Meta.registerLogfileMatchResultSchema.Meta.render_moduleLogfileMatchResultSchema.Meta.timeformatLogfileMatchResultSchema.Meta.unknown
LogfileMatchResultSchema.OPTIONS_CLASSLogfileMatchResultSchema.TYPE_MAPPINGLogfileMatchResultSchema.dict_classLogfileMatchResultSchema.dump()LogfileMatchResultSchema.dumps()LogfileMatchResultSchema.error_messagesLogfileMatchResultSchema.fieldsLogfileMatchResultSchema.from_dict()LogfileMatchResultSchema.get_attribute()LogfileMatchResultSchema.handle_error()LogfileMatchResultSchema.load()LogfileMatchResultSchema.loads()LogfileMatchResultSchema.on_bind_field()LogfileMatchResultSchema.optsLogfileMatchResultSchema.set_classLogfileMatchResultSchema.validate()
LogfileMatchSchemaLogfileMatchSchema.MetaLogfileMatchSchema.Meta.additionalLogfileMatchSchema.Meta.dateformatLogfileMatchSchema.Meta.datetimeformatLogfileMatchSchema.Meta.dump_onlyLogfileMatchSchema.Meta.excludeLogfileMatchSchema.Meta.fieldsLogfileMatchSchema.Meta.includeLogfileMatchSchema.Meta.index_errorsLogfileMatchSchema.Meta.load_onlyLogfileMatchSchema.Meta.manyLogfileMatchSchema.Meta.orderedLogfileMatchSchema.Meta.registerLogfileMatchSchema.Meta.render_moduleLogfileMatchSchema.Meta.timeformatLogfileMatchSchema.Meta.unknown
LogfileMatchSchema.OPTIONS_CLASSLogfileMatchSchema.TYPE_MAPPINGLogfileMatchSchema.dict_classLogfileMatchSchema.dump()LogfileMatchSchema.dump_fieldsLogfileMatchSchema.dumps()LogfileMatchSchema.error_messagesLogfileMatchSchema.excludeLogfileMatchSchema.fieldsLogfileMatchSchema.from_dict()LogfileMatchSchema.get_attribute()LogfileMatchSchema.handle_error()LogfileMatchSchema.load()LogfileMatchSchema.load_fieldsLogfileMatchSchema.loads()LogfileMatchSchema.on_bind_field()LogfileMatchSchema.optsLogfileMatchSchema.set_classLogfileMatchSchema.streamline()LogfileMatchSchema.validate()
MembershipSchemaMembershipSchema.MetaMembershipSchema.Meta.additionalMembershipSchema.Meta.dateformatMembershipSchema.Meta.datetimeformatMembershipSchema.Meta.dump_onlyMembershipSchema.Meta.excludeMembershipSchema.Meta.fieldsMembershipSchema.Meta.includeMembershipSchema.Meta.index_errorsMembershipSchema.Meta.load_onlyMembershipSchema.Meta.manyMembershipSchema.Meta.orderedMembershipSchema.Meta.registerMembershipSchema.Meta.render_moduleMembershipSchema.Meta.timeformatMembershipSchema.Meta.unknown
MembershipSchema.OPTIONS_CLASSMembershipSchema.TYPE_MAPPINGMembershipSchema.dict_classMembershipSchema.dump()MembershipSchema.dump_fieldsMembershipSchema.dumps()MembershipSchema.error_messagesMembershipSchema.excludeMembershipSchema.fieldsMembershipSchema.from_dict()MembershipSchema.get_attribute()MembershipSchema.handle_error()MembershipSchema.load()MembershipSchema.load_fieldsMembershipSchema.loads()MembershipSchema.on_bind_field()MembershipSchema.optsMembershipSchema.set_classMembershipSchema.streamline()MembershipSchema.validate()
RawAssertionSchemaRawAssertionSchema.MetaRawAssertionSchema.Meta.additionalRawAssertionSchema.Meta.dateformatRawAssertionSchema.Meta.datetimeformatRawAssertionSchema.Meta.dump_onlyRawAssertionSchema.Meta.excludeRawAssertionSchema.Meta.fieldsRawAssertionSchema.Meta.includeRawAssertionSchema.Meta.index_errorsRawAssertionSchema.Meta.load_onlyRawAssertionSchema.Meta.manyRawAssertionSchema.Meta.orderedRawAssertionSchema.Meta.registerRawAssertionSchema.Meta.render_moduleRawAssertionSchema.Meta.timeformatRawAssertionSchema.Meta.unknown
RawAssertionSchema.OPTIONS_CLASSRawAssertionSchema.TYPE_MAPPINGRawAssertionSchema.dict_classRawAssertionSchema.dump()RawAssertionSchema.dump_fieldsRawAssertionSchema.dumps()RawAssertionSchema.error_messagesRawAssertionSchema.excludeRawAssertionSchema.fieldsRawAssertionSchema.from_dict()RawAssertionSchema.get_attribute()RawAssertionSchema.handle_error()RawAssertionSchema.load()RawAssertionSchema.load_fieldsRawAssertionSchema.loads()RawAssertionSchema.on_bind_field()RawAssertionSchema.optsRawAssertionSchema.set_classRawAssertionSchema.streamline()RawAssertionSchema.validate()
RegexFindIterSchemaRegexFindIterSchema.MetaRegexFindIterSchema.Meta.additionalRegexFindIterSchema.Meta.dateformatRegexFindIterSchema.Meta.datetimeformatRegexFindIterSchema.Meta.dump_onlyRegexFindIterSchema.Meta.excludeRegexFindIterSchema.Meta.fieldsRegexFindIterSchema.Meta.includeRegexFindIterSchema.Meta.index_errorsRegexFindIterSchema.Meta.load_onlyRegexFindIterSchema.Meta.manyRegexFindIterSchema.Meta.orderedRegexFindIterSchema.Meta.registerRegexFindIterSchema.Meta.render_moduleRegexFindIterSchema.Meta.timeformatRegexFindIterSchema.Meta.unknown
RegexFindIterSchema.OPTIONS_CLASSRegexFindIterSchema.TYPE_MAPPINGRegexFindIterSchema.dict_classRegexFindIterSchema.dump()RegexFindIterSchema.dump_fieldsRegexFindIterSchema.dumps()RegexFindIterSchema.error_messagesRegexFindIterSchema.excludeRegexFindIterSchema.fieldsRegexFindIterSchema.from_dict()RegexFindIterSchema.get_attribute()RegexFindIterSchema.handle_error()RegexFindIterSchema.load()RegexFindIterSchema.load_fieldsRegexFindIterSchema.loads()RegexFindIterSchema.on_bind_field()RegexFindIterSchema.optsRegexFindIterSchema.set_classRegexFindIterSchema.streamline()RegexFindIterSchema.validate()
RegexSchemaRegexSchema.MetaRegexSchema.Meta.additionalRegexSchema.Meta.dateformatRegexSchema.Meta.datetimeformatRegexSchema.Meta.dump_onlyRegexSchema.Meta.excludeRegexSchema.Meta.fieldsRegexSchema.Meta.includeRegexSchema.Meta.index_errorsRegexSchema.Meta.load_onlyRegexSchema.Meta.manyRegexSchema.Meta.orderedRegexSchema.Meta.registerRegexSchema.Meta.render_moduleRegexSchema.Meta.timeformatRegexSchema.Meta.unknown
RegexSchema.OPTIONS_CLASSRegexSchema.TYPE_MAPPINGRegexSchema.dict_classRegexSchema.dump()RegexSchema.dump_fieldsRegexSchema.dumps()RegexSchema.error_messagesRegexSchema.excludeRegexSchema.fieldsRegexSchema.from_dict()RegexSchema.get_attribute()RegexSchema.handle_error()RegexSchema.load()RegexSchema.load_fieldsRegexSchema.loads()RegexSchema.on_bind_field()RegexSchema.optsRegexSchema.set_classRegexSchema.streamline()RegexSchema.validate()
TableMatchSchemaTableMatchSchema.MetaTableMatchSchema.Meta.additionalTableMatchSchema.Meta.dateformatTableMatchSchema.Meta.datetimeformatTableMatchSchema.Meta.dump_onlyTableMatchSchema.Meta.excludeTableMatchSchema.Meta.fieldsTableMatchSchema.Meta.includeTableMatchSchema.Meta.index_errorsTableMatchSchema.Meta.load_onlyTableMatchSchema.Meta.manyTableMatchSchema.Meta.orderedTableMatchSchema.Meta.registerTableMatchSchema.Meta.render_moduleTableMatchSchema.Meta.timeformatTableMatchSchema.Meta.unknown
TableMatchSchema.OPTIONS_CLASSTableMatchSchema.TYPE_MAPPINGTableMatchSchema.dict_classTableMatchSchema.dump()TableMatchSchema.dump_fieldsTableMatchSchema.dumps()TableMatchSchema.error_messagesTableMatchSchema.excludeTableMatchSchema.fieldsTableMatchSchema.from_dict()TableMatchSchema.get_attribute()TableMatchSchema.handle_error()TableMatchSchema.load()TableMatchSchema.load_fieldsTableMatchSchema.loads()TableMatchSchema.on_bind_field()TableMatchSchema.optsTableMatchSchema.set_classTableMatchSchema.streamline()TableMatchSchema.validate()
XMLCheckSchemaXMLCheckSchema.MetaXMLCheckSchema.Meta.additionalXMLCheckSchema.Meta.dateformatXMLCheckSchema.Meta.datetimeformatXMLCheckSchema.Meta.dump_onlyXMLCheckSchema.Meta.excludeXMLCheckSchema.Meta.fieldsXMLCheckSchema.Meta.includeXMLCheckSchema.Meta.index_errorsXMLCheckSchema.Meta.load_onlyXMLCheckSchema.Meta.manyXMLCheckSchema.Meta.orderedXMLCheckSchema.Meta.registerXMLCheckSchema.Meta.render_moduleXMLCheckSchema.Meta.timeformatXMLCheckSchema.Meta.unknown
XMLCheckSchema.OPTIONS_CLASSXMLCheckSchema.TYPE_MAPPINGXMLCheckSchema.dict_classXMLCheckSchema.dump()XMLCheckSchema.dump_fieldsXMLCheckSchema.dumps()XMLCheckSchema.error_messagesXMLCheckSchema.excludeXMLCheckSchema.fieldsXMLCheckSchema.from_dict()XMLCheckSchema.get_attribute()XMLCheckSchema.handle_error()XMLCheckSchema.load()XMLCheckSchema.load_fieldsXMLCheckSchema.loads()XMLCheckSchema.on_bind_field()XMLCheckSchema.optsXMLCheckSchema.set_classXMLCheckSchema.streamline()XMLCheckSchema.validate()
- testplan.testing.multitest.entries.schemas.base module
AssertionSchemaRegistryAttachmentSchemaAttachmentSchema.MetaAttachmentSchema.Meta.additionalAttachmentSchema.Meta.dateformatAttachmentSchema.Meta.datetimeformatAttachmentSchema.Meta.dump_onlyAttachmentSchema.Meta.excludeAttachmentSchema.Meta.fieldsAttachmentSchema.Meta.includeAttachmentSchema.Meta.index_errorsAttachmentSchema.Meta.load_onlyAttachmentSchema.Meta.manyAttachmentSchema.Meta.orderedAttachmentSchema.Meta.registerAttachmentSchema.Meta.render_moduleAttachmentSchema.Meta.timeformatAttachmentSchema.Meta.unknown
AttachmentSchema.OPTIONS_CLASSAttachmentSchema.TYPE_MAPPINGAttachmentSchema.dict_classAttachmentSchema.dump()AttachmentSchema.dumps()AttachmentSchema.error_messagesAttachmentSchema.fieldsAttachmentSchema.from_dict()AttachmentSchema.get_attribute()AttachmentSchema.handle_error()AttachmentSchema.load()AttachmentSchema.loads()AttachmentSchema.on_bind_field()AttachmentSchema.optsAttachmentSchema.set_classAttachmentSchema.streamline()AttachmentSchema.validate()
BaseSchemaBaseSchema.MetaBaseSchema.Meta.additionalBaseSchema.Meta.dateformatBaseSchema.Meta.datetimeformatBaseSchema.Meta.dump_onlyBaseSchema.Meta.excludeBaseSchema.Meta.fieldsBaseSchema.Meta.includeBaseSchema.Meta.index_errorsBaseSchema.Meta.load_onlyBaseSchema.Meta.manyBaseSchema.Meta.orderedBaseSchema.Meta.registerBaseSchema.Meta.render_moduleBaseSchema.Meta.timeformatBaseSchema.Meta.unknown
BaseSchema.OPTIONS_CLASSBaseSchema.TYPE_MAPPINGBaseSchema.dict_classBaseSchema.dump()BaseSchema.dumps()BaseSchema.error_messagesBaseSchema.fieldsBaseSchema.from_dict()BaseSchema.get_attribute()BaseSchema.handle_error()BaseSchema.load()BaseSchema.loads()BaseSchema.on_bind_field()BaseSchema.optsBaseSchema.set_classBaseSchema.streamline()BaseSchema.validate()
CodeLogSchemaCodeLogSchema.MetaCodeLogSchema.Meta.additionalCodeLogSchema.Meta.dateformatCodeLogSchema.Meta.datetimeformatCodeLogSchema.Meta.dump_onlyCodeLogSchema.Meta.excludeCodeLogSchema.Meta.fieldsCodeLogSchema.Meta.includeCodeLogSchema.Meta.index_errorsCodeLogSchema.Meta.load_onlyCodeLogSchema.Meta.manyCodeLogSchema.Meta.orderedCodeLogSchema.Meta.registerCodeLogSchema.Meta.render_moduleCodeLogSchema.Meta.timeformatCodeLogSchema.Meta.unknown
CodeLogSchema.OPTIONS_CLASSCodeLogSchema.TYPE_MAPPINGCodeLogSchema.dict_classCodeLogSchema.dump()CodeLogSchema.dump_fieldsCodeLogSchema.dumps()CodeLogSchema.error_messagesCodeLogSchema.excludeCodeLogSchema.fieldsCodeLogSchema.from_dict()CodeLogSchema.get_attribute()CodeLogSchema.handle_error()CodeLogSchema.load()CodeLogSchema.load_fieldsCodeLogSchema.loads()CodeLogSchema.on_bind_field()CodeLogSchema.optsCodeLogSchema.set_classCodeLogSchema.streamline()CodeLogSchema.validate()
DictLogSchemaDictLogSchema.MetaDictLogSchema.Meta.additionalDictLogSchema.Meta.dateformatDictLogSchema.Meta.datetimeformatDictLogSchema.Meta.dump_onlyDictLogSchema.Meta.excludeDictLogSchema.Meta.fieldsDictLogSchema.Meta.includeDictLogSchema.Meta.index_errorsDictLogSchema.Meta.load_onlyDictLogSchema.Meta.manyDictLogSchema.Meta.orderedDictLogSchema.Meta.registerDictLogSchema.Meta.render_moduleDictLogSchema.Meta.timeformatDictLogSchema.Meta.unknown
DictLogSchema.OPTIONS_CLASSDictLogSchema.TYPE_MAPPINGDictLogSchema.compress_level()DictLogSchema.dict_classDictLogSchema.dump()DictLogSchema.dump_fieldsDictLogSchema.dumps()DictLogSchema.error_messagesDictLogSchema.excludeDictLogSchema.fieldsDictLogSchema.from_dict()DictLogSchema.get_attribute()DictLogSchema.handle_error()DictLogSchema.load()DictLogSchema.load_fieldsDictLogSchema.loads()DictLogSchema.on_bind_field()DictLogSchema.optsDictLogSchema.set_classDictLogSchema.streamline()DictLogSchema.validate()
DirectorySchemaDirectorySchema.MetaDirectorySchema.Meta.additionalDirectorySchema.Meta.dateformatDirectorySchema.Meta.datetimeformatDirectorySchema.Meta.dump_onlyDirectorySchema.Meta.excludeDirectorySchema.Meta.fieldsDirectorySchema.Meta.includeDirectorySchema.Meta.index_errorsDirectorySchema.Meta.load_onlyDirectorySchema.Meta.manyDirectorySchema.Meta.orderedDirectorySchema.Meta.registerDirectorySchema.Meta.render_moduleDirectorySchema.Meta.timeformatDirectorySchema.Meta.unknown
DirectorySchema.OPTIONS_CLASSDirectorySchema.TYPE_MAPPINGDirectorySchema.dict_classDirectorySchema.dump()DirectorySchema.dump_fieldsDirectorySchema.dumps()DirectorySchema.error_messagesDirectorySchema.excludeDirectorySchema.fieldsDirectorySchema.from_dict()DirectorySchema.get_attribute()DirectorySchema.handle_error()DirectorySchema.load()DirectorySchema.load_fieldsDirectorySchema.loads()DirectorySchema.on_bind_field()DirectorySchema.optsDirectorySchema.set_classDirectorySchema.streamline()DirectorySchema.validate()
EdgeSchemaEdgeSchema.MetaEdgeSchema.Meta.additionalEdgeSchema.Meta.dateformatEdgeSchema.Meta.datetimeformatEdgeSchema.Meta.dump_onlyEdgeSchema.Meta.excludeEdgeSchema.Meta.fieldsEdgeSchema.Meta.includeEdgeSchema.Meta.index_errorsEdgeSchema.Meta.load_onlyEdgeSchema.Meta.manyEdgeSchema.Meta.orderedEdgeSchema.Meta.registerEdgeSchema.Meta.render_moduleEdgeSchema.Meta.timeformatEdgeSchema.Meta.unknown
EdgeSchema.OPTIONS_CLASSEdgeSchema.TYPE_MAPPINGEdgeSchema.dict_classEdgeSchema.dump()EdgeSchema.dumps()EdgeSchema.error_messagesEdgeSchema.fieldsEdgeSchema.from_dict()EdgeSchema.get_attribute()EdgeSchema.handle_error()EdgeSchema.load()EdgeSchema.loads()EdgeSchema.on_bind_field()EdgeSchema.optsEdgeSchema.set_classEdgeSchema.validate()
FlowChartSchemaFlowChartSchema.MetaFlowChartSchema.Meta.additionalFlowChartSchema.Meta.dateformatFlowChartSchema.Meta.datetimeformatFlowChartSchema.Meta.dump_onlyFlowChartSchema.Meta.excludeFlowChartSchema.Meta.fieldsFlowChartSchema.Meta.includeFlowChartSchema.Meta.index_errorsFlowChartSchema.Meta.load_onlyFlowChartSchema.Meta.manyFlowChartSchema.Meta.orderedFlowChartSchema.Meta.registerFlowChartSchema.Meta.render_moduleFlowChartSchema.Meta.timeformatFlowChartSchema.Meta.unknown
FlowChartSchema.OPTIONS_CLASSFlowChartSchema.TYPE_MAPPINGFlowChartSchema.dict_classFlowChartSchema.dump()FlowChartSchema.dump_fieldsFlowChartSchema.dumps()FlowChartSchema.error_messagesFlowChartSchema.excludeFlowChartSchema.fieldsFlowChartSchema.from_dict()FlowChartSchema.get_attribute()FlowChartSchema.handle_error()FlowChartSchema.load()FlowChartSchema.load_fieldsFlowChartSchema.loads()FlowChartSchema.on_bind_field()FlowChartSchema.optsFlowChartSchema.set_classFlowChartSchema.streamline()FlowChartSchema.validate()
GenericEntryListGraphSchemaGraphSchema.MetaGraphSchema.Meta.additionalGraphSchema.Meta.dateformatGraphSchema.Meta.datetimeformatGraphSchema.Meta.dump_onlyGraphSchema.Meta.excludeGraphSchema.Meta.fieldsGraphSchema.Meta.includeGraphSchema.Meta.index_errorsGraphSchema.Meta.load_onlyGraphSchema.Meta.manyGraphSchema.Meta.orderedGraphSchema.Meta.registerGraphSchema.Meta.render_moduleGraphSchema.Meta.timeformatGraphSchema.Meta.unknown
GraphSchema.OPTIONS_CLASSGraphSchema.TYPE_MAPPINGGraphSchema.dict_classGraphSchema.dump()GraphSchema.dump_fieldsGraphSchema.dumps()GraphSchema.error_messagesGraphSchema.excludeGraphSchema.fieldsGraphSchema.from_dict()GraphSchema.get_attribute()GraphSchema.handle_error()GraphSchema.load()GraphSchema.load_fieldsGraphSchema.loads()GraphSchema.on_bind_field()GraphSchema.optsGraphSchema.set_classGraphSchema.streamline()GraphSchema.validate()
GroupSchemaGroupSchema.MetaGroupSchema.Meta.additionalGroupSchema.Meta.dateformatGroupSchema.Meta.datetimeformatGroupSchema.Meta.dump_onlyGroupSchema.Meta.excludeGroupSchema.Meta.fieldsGroupSchema.Meta.includeGroupSchema.Meta.index_errorsGroupSchema.Meta.load_onlyGroupSchema.Meta.manyGroupSchema.Meta.orderedGroupSchema.Meta.registerGroupSchema.Meta.render_moduleGroupSchema.Meta.timeformatGroupSchema.Meta.unknown
GroupSchema.OPTIONS_CLASSGroupSchema.TYPE_MAPPINGGroupSchema.dict_classGroupSchema.dump()GroupSchema.dumps()GroupSchema.error_messagesGroupSchema.fieldsGroupSchema.from_dict()GroupSchema.get_attribute()GroupSchema.handle_error()GroupSchema.load()GroupSchema.loads()GroupSchema.on_bind_field()GroupSchema.optsGroupSchema.set_classGroupSchema.validate()
LogSchemaLogSchema.MetaLogSchema.Meta.additionalLogSchema.Meta.dateformatLogSchema.Meta.datetimeformatLogSchema.Meta.dump_onlyLogSchema.Meta.excludeLogSchema.Meta.fieldsLogSchema.Meta.includeLogSchema.Meta.index_errorsLogSchema.Meta.load_onlyLogSchema.Meta.manyLogSchema.Meta.orderedLogSchema.Meta.registerLogSchema.Meta.render_moduleLogSchema.Meta.timeformatLogSchema.Meta.unknown
LogSchema.OPTIONS_CLASSLogSchema.TYPE_MAPPINGLogSchema.dict_classLogSchema.dump()LogSchema.dump_fieldsLogSchema.dumps()LogSchema.error_messagesLogSchema.excludeLogSchema.fieldsLogSchema.from_dict()LogSchema.get_attribute()LogSchema.handle_error()LogSchema.load()LogSchema.load_fieldsLogSchema.loads()LogSchema.on_bind_field()LogSchema.optsLogSchema.set_classLogSchema.streamline()LogSchema.validate()
MarkdownSchemaMarkdownSchema.MetaMarkdownSchema.Meta.additionalMarkdownSchema.Meta.dateformatMarkdownSchema.Meta.datetimeformatMarkdownSchema.Meta.dump_onlyMarkdownSchema.Meta.excludeMarkdownSchema.Meta.fieldsMarkdownSchema.Meta.includeMarkdownSchema.Meta.index_errorsMarkdownSchema.Meta.load_onlyMarkdownSchema.Meta.manyMarkdownSchema.Meta.orderedMarkdownSchema.Meta.registerMarkdownSchema.Meta.render_moduleMarkdownSchema.Meta.timeformatMarkdownSchema.Meta.unknown
MarkdownSchema.OPTIONS_CLASSMarkdownSchema.TYPE_MAPPINGMarkdownSchema.dict_classMarkdownSchema.dump()MarkdownSchema.dump_fieldsMarkdownSchema.dumps()MarkdownSchema.error_messagesMarkdownSchema.excludeMarkdownSchema.fieldsMarkdownSchema.from_dict()MarkdownSchema.get_attribute()MarkdownSchema.handle_error()MarkdownSchema.load()MarkdownSchema.load_fieldsMarkdownSchema.loads()MarkdownSchema.on_bind_field()MarkdownSchema.optsMarkdownSchema.set_classMarkdownSchema.streamline()MarkdownSchema.validate()
NodeSchemaNodeSchema.MetaNodeSchema.Meta.additionalNodeSchema.Meta.dateformatNodeSchema.Meta.datetimeformatNodeSchema.Meta.dump_onlyNodeSchema.Meta.excludeNodeSchema.Meta.fieldsNodeSchema.Meta.includeNodeSchema.Meta.index_errorsNodeSchema.Meta.load_onlyNodeSchema.Meta.manyNodeSchema.Meta.orderedNodeSchema.Meta.registerNodeSchema.Meta.render_moduleNodeSchema.Meta.timeformatNodeSchema.Meta.unknown
NodeSchema.OPTIONS_CLASSNodeSchema.TYPE_MAPPINGNodeSchema.dict_classNodeSchema.dump()NodeSchema.dumps()NodeSchema.error_messagesNodeSchema.fieldsNodeSchema.from_dict()NodeSchema.get_attribute()NodeSchema.handle_error()NodeSchema.load()NodeSchema.loads()NodeSchema.on_bind_field()NodeSchema.optsNodeSchema.set_classNodeSchema.validate()
PlotlySchemaPlotlySchema.MetaPlotlySchema.Meta.additionalPlotlySchema.Meta.dateformatPlotlySchema.Meta.datetimeformatPlotlySchema.Meta.dump_onlyPlotlySchema.Meta.excludePlotlySchema.Meta.fieldsPlotlySchema.Meta.includePlotlySchema.Meta.index_errorsPlotlySchema.Meta.load_onlyPlotlySchema.Meta.manyPlotlySchema.Meta.orderedPlotlySchema.Meta.registerPlotlySchema.Meta.render_modulePlotlySchema.Meta.timeformatPlotlySchema.Meta.unknown
PlotlySchema.OPTIONS_CLASSPlotlySchema.TYPE_MAPPINGPlotlySchema.dict_classPlotlySchema.dump()PlotlySchema.dump_fieldsPlotlySchema.dumps()PlotlySchema.error_messagesPlotlySchema.excludePlotlySchema.fieldsPlotlySchema.from_dict()PlotlySchema.get_attribute()PlotlySchema.handle_error()PlotlySchema.load()PlotlySchema.load_fieldsPlotlySchema.loads()PlotlySchema.on_bind_field()PlotlySchema.optsPlotlySchema.set_classPlotlySchema.streamline()PlotlySchema.validate()
TableLogSchemaTableLogSchema.MetaTableLogSchema.Meta.additionalTableLogSchema.Meta.dateformatTableLogSchema.Meta.datetimeformatTableLogSchema.Meta.dump_onlyTableLogSchema.Meta.excludeTableLogSchema.Meta.fieldsTableLogSchema.Meta.includeTableLogSchema.Meta.index_errorsTableLogSchema.Meta.load_onlyTableLogSchema.Meta.manyTableLogSchema.Meta.orderedTableLogSchema.Meta.registerTableLogSchema.Meta.render_moduleTableLogSchema.Meta.timeformatTableLogSchema.Meta.unknown
TableLogSchema.OPTIONS_CLASSTableLogSchema.TYPE_MAPPINGTableLogSchema.dict_classTableLogSchema.dump()TableLogSchema.dump_fieldsTableLogSchema.dumps()TableLogSchema.error_messagesTableLogSchema.excludeTableLogSchema.fieldsTableLogSchema.from_dict()TableLogSchema.get_attribute()TableLogSchema.handle_error()TableLogSchema.load()TableLogSchema.load_fieldsTableLogSchema.loads()TableLogSchema.on_bind_field()TableLogSchema.optsTableLogSchema.set_classTableLogSchema.streamline()TableLogSchema.validate()
- testplan.testing.multitest.entries.schemas.assertions module
- Module contents
- Submodules
- testplan.testing.multitest.entries.stdout package
- Submodules
- testplan.testing.multitest.entries.stdout.assertions module
ApproximateEqualityAssertionRendererApproximateEqualityAssertionRenderer.get_assertion_details()ApproximateEqualityAssertionRenderer.get_default_header()ApproximateEqualityAssertionRenderer.get_details()ApproximateEqualityAssertionRenderer.get_header()ApproximateEqualityAssertionRenderer.get_header_text()ApproximateEqualityAssertionRenderer.pass_label()
AssertionRendererColumnContainRendererDictCheckRendererDictMatchAllRendererDictMatchRendererEqualExcludeSlicesRendererEqualSlicesRendererExceptionRaisedRendererFailRendererFunctionAssertionRendererLineDiffRendererLogfileMatchRenderMembershipRendererRegexFindIterRendererRegexMatchLineRendererRegexMatchRendererRegexNotMatchRendererTableMatchRendererXMLCheckRendereradd_printable_dict_comparison()
- testplan.testing.multitest.entries.stdout.base module
- testplan.testing.multitest.entries.stdout.assertions module
- Module contents
- Submodules
- testplan.testing.multitest.entries.schemas package
- Submodules
- testplan.testing.multitest.entries.assertions module
AssertionColumnContainContainDictCheckDictMatchDictMatchAllEqualEqualExcludeSlicesEqualSlicesExceptionRaisedFailFixCheckFixMatchFixMatchAllFuncAssertionGreaterGreaterEqualIsCloseIsFalseIsTrueLessLessEqualLineDiffLogfileMatchNotContainNotEqualRawAssertionRegexAssertionRegexFindIterRegexMatchRegexMatchLineRegexMatchNotExistsRegexSearchRegexSearchNotExistsTableDiffTableMatchXMLCheck
- testplan.testing.multitest.entries.base module
- testplan.testing.multitest.entries.summarization module
- testplan.testing.multitest.entries.assertions module
- Module contents
- Subpackages
- testplan.testing.multitest.driver package
- Submodules
- testplan.testing.multitest.base module
MultiTestMultiTest.CONFIGMultiTest.DEFAULT_THREAD_POOL_SIZEMultiTest.ENVIRONMENTMultiTest.RESULTMultiTest.STATUSMultiTest.abort()MultiTest.abort_dependencies()MultiTest.abortedMultiTest.aborting()MultiTest.activeMultiTest.add_main_batch_steps()MultiTest.add_post_main_steps()MultiTest.add_post_resource_steps()MultiTest.add_pre_main_steps()MultiTest.add_pre_resource_steps()MultiTest.add_resource()MultiTest.add_start_resource_steps()MultiTest.add_stop_resource_steps()MultiTest.apply_xfail_tests()MultiTest.cfgMultiTest.collect_code_contextMultiTest.context_input()MultiTest.define_runpath()MultiTest.descriptionMultiTest.driver_infoMultiTest.dry_run()MultiTest.filter_levelsMultiTest.filter_locals()MultiTest.get_filter_levels()MultiTest.get_metadata()MultiTest.get_stdout_style()MultiTest.get_tags_index()MultiTest.get_test_context()MultiTest.iMultiTest.interactiveMultiTest.log_test_results()MultiTest.loggerMultiTest.make_runpath_dirs()MultiTest.nameMultiTest.parentMultiTest.pause()MultiTest.pausing()MultiTest.post_step_call()MultiTest.pre_step_call()MultiTest.propagate_tag_indices()MultiTest.reportMultiTest.reset_context()MultiTest.resourcesMultiTest.resultMultiTest.resume()MultiTest.resuming()MultiTest.run()MultiTest.run_result()MultiTest.run_testcases_iter()MultiTest.run_tests()MultiTest.runpathMultiTest.scratchMultiTest.set_discover_path()MultiTest.set_part()MultiTest.setup()MultiTest.should_log_test_result()MultiTest.should_run()MultiTest.skip_step()MultiTest.start_test_resources()MultiTest.statusMultiTest.stdout_styleMultiTest.stop_test_resources()MultiTest.suitesMultiTest.teardown()MultiTest.test_contextMultiTest.timerMultiTest.uid()MultiTest.unset_part()MultiTest.wait()
MultiTestConfigMultiTestRuntimeInfoRuntimeEnvironmentdeprecate_stop_on_error()iterable_suites()
- testplan.testing.multitest.logging module
- testplan.testing.multitest.parametrization module
- testplan.testing.multitest.suite module
add_testcase_metadata()get_suite_metadata()get_testcase_desc()get_testcase_metadata()get_testcase_methods()get_testsuite_desc()get_testsuite_name()is_testcase()propagate_tag_indices()set_testsuite_testcases()skip_if()skip_if_testcase()testcase()testsuite()timeout()update_tag_index()xfail()
- testplan.testing.multitest.test_metadata module
- testplan.testing.multitest.base module
- Module contents
- Subpackages
- testplan.testing.cpp package
- Submodules
- testplan.testing.cpp.gtest module
GTestGTest.CONFIGGTest.ENVIRONMENTGTest.RESULTGTest.STATUSGTest.abort()GTest.abort_dependencies()GTest.abortedGTest.aborting()GTest.activeGTest.add_main_batch_steps()GTest.add_post_main_steps()GTest.add_post_resource_steps()GTest.add_pre_main_steps()GTest.add_pre_resource_steps()GTest.add_resource()GTest.add_start_resource_steps()GTest.add_stop_resource_steps()GTest.apply_xfail_tests()GTest.base_command()GTest.cfgGTest.collect_code_contextGTest.context_input()GTest.define_runpath()GTest.descriptionGTest.driver_infoGTest.dry_run()GTest.filter_levelsGTest.filter_locals()GTest.get_filter_levels()GTest.get_metadata()GTest.get_proc_env()GTest.get_process_check_report()GTest.get_stdout_style()GTest.get_tags_index()GTest.get_test_context()GTest.iGTest.interactiveGTest.list_command()GTest.list_command_filter()GTest.log_test_results()GTest.loggerGTest.make_runpath_dirs()GTest.nameGTest.parentGTest.parse_test_context()GTest.pause()GTest.pausing()GTest.post_step_call()GTest.pre_step_call()GTest.prepare_binary()GTest.process_test_data()GTest.propagate_tag_indices()GTest.read_test_data()GTest.reportGTest.report_pathGTest.reset_context()GTest.resolved_binGTest.resourcesGTest.resultGTest.resume()GTest.resuming()GTest.run()GTest.run_result()GTest.run_testcases_iter()GTest.run_tests()GTest.runpathGTest.scratchGTest.set_discover_path()GTest.setup()GTest.should_log_test_result()GTest.should_run()GTest.skip_step()GTest.start_test_resources()GTest.statusGTest.stderrGTest.stdoutGTest.stdout_styleGTest.stop_test_resources()GTest.teardown()GTest.test_command()GTest.test_command_filter()GTest.test_contextGTest.timeout_callback()GTest.timeout_logGTest.timerGTest.uid()GTest.update_test_report()GTest.wait()
GTestConfig
- testplan.testing.cpp.cppunit module
CppunitCppunit.CONFIGCppunit.ENVIRONMENTCppunit.RESULTCppunit.STATUSCppunit.abort()Cppunit.abort_dependencies()Cppunit.abortedCppunit.aborting()Cppunit.activeCppunit.add_main_batch_steps()Cppunit.add_post_main_steps()Cppunit.add_post_resource_steps()Cppunit.add_pre_main_steps()Cppunit.add_pre_resource_steps()Cppunit.add_resource()Cppunit.add_start_resource_steps()Cppunit.add_stop_resource_steps()Cppunit.apply_xfail_tests()Cppunit.cfgCppunit.collect_code_contextCppunit.context_input()Cppunit.define_runpath()Cppunit.descriptionCppunit.driver_infoCppunit.dry_run()Cppunit.filter_levelsCppunit.filter_locals()Cppunit.get_filter_levels()Cppunit.get_metadata()Cppunit.get_proc_env()Cppunit.get_process_check_report()Cppunit.get_stdout_style()Cppunit.get_tags_index()Cppunit.get_test_context()Cppunit.iCppunit.interactiveCppunit.list_command()Cppunit.list_command_filter()Cppunit.log_test_results()Cppunit.loggerCppunit.make_runpath_dirs()Cppunit.nameCppunit.parentCppunit.parse_test_context()Cppunit.pause()Cppunit.pausing()Cppunit.post_step_call()Cppunit.pre_step_call()Cppunit.prepare_binary()Cppunit.process_test_data()Cppunit.propagate_tag_indices()Cppunit.read_test_data()Cppunit.reportCppunit.report_pathCppunit.reset_context()Cppunit.resolved_binCppunit.resourcesCppunit.resultCppunit.resume()Cppunit.resuming()Cppunit.run()Cppunit.run_result()Cppunit.run_testcases_iter()Cppunit.run_tests()Cppunit.runpathCppunit.scratchCppunit.set_discover_path()Cppunit.setup()Cppunit.should_log_test_result()Cppunit.should_run()Cppunit.skip_step()Cppunit.start_test_resources()Cppunit.statusCppunit.stderrCppunit.stdoutCppunit.stdout_styleCppunit.stop_test_resources()Cppunit.teardown()Cppunit.test_command()Cppunit.test_command_filter()Cppunit.test_contextCppunit.timeout_callback()Cppunit.timeout_logCppunit.timerCppunit.uid()Cppunit.update_test_report()Cppunit.wait()
CppunitConfig
- testplan.testing.cpp.hobbestest module
HobbesTestHobbesTest.CONFIGHobbesTest.ENVIRONMENTHobbesTest.RESULTHobbesTest.STATUSHobbesTest.abort()HobbesTest.abort_dependencies()HobbesTest.abortedHobbesTest.aborting()HobbesTest.activeHobbesTest.add_main_batch_steps()HobbesTest.add_post_main_steps()HobbesTest.add_post_resource_steps()HobbesTest.add_pre_main_steps()HobbesTest.add_pre_resource_steps()HobbesTest.add_resource()HobbesTest.add_start_resource_steps()HobbesTest.add_stop_resource_steps()HobbesTest.apply_xfail_tests()HobbesTest.cfgHobbesTest.collect_code_contextHobbesTest.context_input()HobbesTest.define_runpath()HobbesTest.descriptionHobbesTest.driver_infoHobbesTest.dry_run()HobbesTest.filter_levelsHobbesTest.filter_locals()HobbesTest.get_filter_levels()HobbesTest.get_metadata()HobbesTest.get_proc_env()HobbesTest.get_process_check_report()HobbesTest.get_stdout_style()HobbesTest.get_tags_index()HobbesTest.get_test_context()HobbesTest.iHobbesTest.interactiveHobbesTest.list_command()HobbesTest.list_command_filter()HobbesTest.log_test_results()HobbesTest.loggerHobbesTest.make_runpath_dirs()HobbesTest.nameHobbesTest.parentHobbesTest.parse_test_context()HobbesTest.pause()HobbesTest.pausing()HobbesTest.post_step_call()HobbesTest.pre_step_call()HobbesTest.prepare_binary()HobbesTest.process_test_data()HobbesTest.propagate_tag_indices()HobbesTest.read_test_data()HobbesTest.reportHobbesTest.report_pathHobbesTest.reset_context()HobbesTest.resolved_binHobbesTest.resourcesHobbesTest.resultHobbesTest.resume()HobbesTest.resuming()HobbesTest.run()HobbesTest.run_result()HobbesTest.run_testcases_iter()HobbesTest.run_tests()HobbesTest.runpathHobbesTest.scratchHobbesTest.set_discover_path()HobbesTest.setup()HobbesTest.should_log_test_result()HobbesTest.should_run()HobbesTest.skip_step()HobbesTest.start_test_resources()HobbesTest.statusHobbesTest.stderrHobbesTest.stdoutHobbesTest.stdout_styleHobbesTest.stop_test_resources()HobbesTest.teardown()HobbesTest.test_command()HobbesTest.test_command_filter()HobbesTest.test_contextHobbesTest.timeout_callback()HobbesTest.timeout_logHobbesTest.timerHobbesTest.uid()HobbesTest.update_test_report()HobbesTest.wait()
HobbesTestConfig
- testplan.testing.cpp.gtest module
- Submodules
- testplan.testing.bdd package
Submodules
testplan.testing.base module
Base classes for all Tests
- class testplan.testing.base.ProcessRunnerTest(**options)[source]
Bases:
TestA test runner that runs the tests in a separate subprocess. This is useful for running 3rd party testing frameworks (e.g. JUnit, GTest)
Test report will be populated by parsing the generated report output file (report.xml file by default.)
- Parameters:
name – Test instance name, often used as uid of test entity.
binary – Path to the application binary or script.
description – Description of test instance.
proc_env – Environment overrides for
subprocess.Popen; context value (when referring to other driver) and jinja2 template (when referring to self) will be resolved.proc_cwd – Directory override for
subprocess.Popen.timeout –
Optional timeout for the subprocess. If a process runs longer than this limit, it will be killed and test will be marked as
ERROR.String representations can be used as well as duration in seconds. (e.g. 10, 2.3, ‘1m 30s’, ‘1h 15m’)
ignore_exit_codes – When the test process exits with nonzero status code, the test will be marked as
ERROR. This can be disabled by providing a list of numbers to ignore.pre_args – List of arguments to be prepended before the arguments of the test runnable.
post_args – List of arguments to be appended before the arguments of the test runnable.
Also inherits all
Testoptions.- CONFIG
alias of
ProcessRunnerTestConfig
- apply_xfail_tests() None[source]
Apply xfail tests specified via –xfail-tests or @test_plan(xfail_tests=…).
- get_proc_env() Dict[source]
Fabricate the env var for subprocess. Precedence: user-specified > hardcoded > system env
- get_process_check_report(retcode: int, stdout: str, stderr: str) TestGroupReport[source]
When running a process fails (e.g. binary crash, timeout etc) we can still generate dummy testsuite / testcase reports with a certain hierarchy compatible with exporters and XUnit conventions. And logs of stdout & stderr can be saved as attachment.
- get_test_context(list_cmd=None)[source]
Run the shell command generated by list_command in a subprocess, parse and return the stdout generated via parse_test_context.
- Parameters:
list_cmd (
str) – Command to list all test suites and testcases- Returns:
Result returned by parse_test_context.
- Return type:
listoflist
- list_command() List[str] | None[source]
List custom arguments before and after the executable if they are defined. :return: List of commands to run before and after the test process,
as well as the test executable itself.
- list_command_filter(testsuite_pattern: str, testcase_pattern: str)[source]
Return the base list command with additional filtering to list a specific set of testcases. To be implemented by concrete subclasses.
- parse_test_context(test_list_output: bytes) List[List][source]
Override this to generate a nested list of test suite and test case context. Only required if list_command is overridden to return a command.
The result will later on be used by test listers to generate the test context output for this test instance.
Sample output:
[ ['SuiteAlpha', ['testcase_one', 'testcase_two'], ['SuiteBeta', ['testcase_one', 'testcase_two'], ]
- Parameters:
test_list_output – stdout from the list command
- Returns:
Parsed test context from command line output of the 3rd party testing library.
- process_test_data(test_data)[source]
Process raw test data that was collected and return a list of entries (e.g. TestGroupReport, TestCaseReport) that will be appended to the current test instance’s report as children.
- Parameters:
test_data (
xml.etree.Element) – Root node of parsed raw test data- Returns:
List of sub reports
- Return type:
listofTestGroupReport/TestCaseReport
- read_test_data()[source]
Parse output generated by the 3rd party testing tool, and then the parsed content will be handled by
process_test_data.You should override this function with custom logic to parse the contents of generated file.
- property report_path: str | None
- property resolved_bin: str
- run_testcases_iter(testsuite_pattern: str = '*', testcase_pattern: str = '*', shallow_report: Dict = None) Generator[source]
Runs testcases as defined by the given filter patterns and yields testcase reports. A single testcase report is made for general checks of the test process, including checking the exit code and logging stdout and stderr of the process. Then, testcase reports are generated from the output of the test process.
For efficiency, we run all testcases in a single subprocess rather than running each testcase in a seperate process. This reduces the total time taken to run all testcases, however it will mean that testcase reports will not be generated until all testcases have finished running.
- Parameters:
testsuite_pattern – pattern to match for testsuite names
testcase_pattern – pattern to match for testcase names
shallow_report – shallow report entry
- Returns:
generator yielding testcase reports and UIDs for merge step
- run_tests() None[source]
Run the tests in a subprocess, record stdout & stderr on runpath. Optionally enforce a timeout and log timeout related messages in the given timeout log path.
- Raises:
ValueError – upon invalid test command
- property stderr: str | None
- property stdout: str | None
- test_command() List[str][source]
Add custom arguments before and after the executable if they are defined. :return: List of commands to run before and after the test process,
as well as the test executable itself.
- test_command_filter(testsuite_pattern: str, testcase_pattern: str)[source]
Return the base test command with additional filtering to run a specific set of testcases. To be implemented by concrete subclasses.
- timeout_callback()[source]
Callback function that will be called by the daemon thread if a timeout occurs (e.g. process runs longer than specified timeout value).
- Raises:
RuntimeError –
- property timeout_log: str | None
- class testplan.testing.base.ProcessRunnerTestConfig(**options)[source]
Bases:
TestConfigConfiguration object for
ProcessRunnerTest.
- class testplan.testing.base.ResourceHooks(*values)[source]
Bases:
str,Enum- AFTER_START = 'After Start'
- AFTER_STOP = 'After Stop'
- BEFORE_START = 'Before Start'
- BEFORE_STOP = 'Before Stop'
- ENVIRONMENT_START = 'Environment Start'
- ENVIRONMENT_STOP = 'Environment Stop'
- ERROR_HANDLER = 'Error Handler'
- STARTING = 'Starting'
- STOPPING = 'Stopping'
- class testplan.testing.base.Test(name: str, description: str = None, environment: list | ~typing.Callable = None, dependencies: dict | ~typing.Callable = None, initial_context: dict | ~typing.Callable = None, before_start: callable = None, after_start: callable = None, before_stop: callable = None, after_stop: callable = None, error_handler: callable = None, test_filter: ~testplan.testing.filtering.BaseFilter = None, test_sorter: ~testplan.testing.ordering.BaseSorter = None, stdout_style: ~testplan.report.testing.styles.Style = None, tags: str | ~typing.Iterable[str] = None, result: ~typing.Type[~testplan.testing.result.Result] = <class 'testplan.testing.result.Result'>, **options)[source]
Bases:
RunnableBase test instance class. Any runnable that runs a test can inherit from this class and override certain methods to customize functionality.
- Parameters:
name – Test instance name, often used as uid of test entity.
description – Description of test instance.
environment – List of
driversto be started and made available on tests execution. Can also take a callable that returns the list of drivers.dependencies – driver start-up dependencies as a directed graph, e.g {server1: (client1, client2)} indicates server1 shall start before client1 and client2. Can also take a callable that returns a dict.
initial_context – key: value pairs that will be made available as context for drivers in environment. Can also take a callable that returns a dict.
test_filter – Class with test filtering logic.
test_sorter – Class with tests sorting logic.
before_start – Callable to execute before starting the environment.
after_start – Callable to execute after starting the environment.
before_stop – Callable to execute before stopping the environment.
after_stop – Callable to execute after stopping the environment.
error_handler – Callable to execute when a step hits an exception.
stdout_style – Console output style.
tags – User defined tag value.
result – Result class definition for result object made available from within the testcases.
Also inherits all
Runnableoptions.- CONFIG
alias of
TestConfig
- ENVIRONMENT
alias of
TestEnvironment
- RESULT
alias of
TestResult
- property collect_code_context: bool
Collecting the file path, line number and code context of the assertions if enabled.
- property description: str
- property driver_info: bool
- dry_run() RunnableResult[source]
Return an empty report skeleton for this test including all testsuites, testcases etc. hierarchy. Does not run any tests.
- filter_levels = [FilterLevel.TEST]
- get_filter_levels() List[FilterLevel][source]
- get_metadata() TestMetadata[source]
- get_tags_index() str | Iterable[str] | Dict[source]
Return the tag index that will be used for filtering. By default, this is equal to the native tags for this object.
However, subclasses may build larger tag indices by collecting tags from their children for example.
- log_test_results(top_down: bool = True)[source]
Log test results. i.e. ProcessRunnerTest or PyTest.
- Parameters:
top_down – Flag logging test results using a top-down approach or a bottom-up approach.
- property name: str
Instance name.
- propagate_tag_indices() None[source]
Basic step for propagating tag indices of the test report tree. This step may be necessary if the report tree is created in parts and then added up.
- property report: TestGroupReport
Shortcut for the test report.
- run_testcases_iter(testsuite_pattern: str = '*', testcase_pattern: str = '*') None[source]
For a Test to be run interactively, it must implement this method.
It is expected to run tests iteratively and yield a tuple containing a testcase report and the list of parent UIDs required to merge the testcase report into the main report tree.
If it is not possible or very inefficient to run individual testcases in an iteratie manner, this method may instead run all the testcases in a batch and then return an iterator for the testcase reports and parent UIDs.
- Parameters:
testsuite_pattern – Filter pattern for testsuite level.
testcase_pattern – Filter pattern for testcase level.
- Yield:
generate tuples containing testcase reports and a list of the UIDs required to merge this into the main report tree, starting with the UID of this test.
- set_discover_path(path: str) None[source]
If the Test is materialized from a task that is discovered outside pwd(), this might be needed for binary/library path derivation to work properly. :param path: the absolute path where the task has been discovered
- should_log_test_result(depth: int, test_obj, style) Tuple[bool, int][source]
Whether to log test result and if yes, then with what indent.
- Returns:
whether to log test results (Suite report, Testcase report, or result of assertions) and the indent that should be kept at start of lines
- Raises:
ValueError – if met with an unexpected test group category
TypeError – if meth with an unsupported test object
- start_test_resources() None[source]
Start all test resources but do not run any tests. Used in the interactive mode when environments may be started/stopped on demand. The base implementation is very simple but may be overridden in sub- classes to run additional setup pre- and post-environment start.
- property stdout_style
Stdout style input.
- stop_test_resources() None[source]
Stop all test resources. As above, this method is used for the interactive mode and is very simple in this base Test class, but may be overridden by sub-classes.
- property test_context
- class testplan.testing.base.TestConfig(**options)[source]
Bases:
RunnableConfigConfiguration object for
Test.
- class testplan.testing.base.TestResult[source]
Bases:
RunnableResultResult object for
Testrunnable test execution framework base class and all sub classes.Contains a test
reportobject.
testplan.testing.filtering module
Filtering logic for Multitest, Suites and testcase methods (of Suites)
- class testplan.testing.filtering.And(*filters)[source]
Bases:
MetaFilterMeta filter that returns True if ALL of the child filters return True.
- operator_str = '&'
- class testplan.testing.filtering.BaseFilter[source]
Bases:
objectBase class for filters, supports bitwise operators for composing multiple filters.
e.g. (FilterA(…) & FilterB(…)) | ~FilterC(…)
- class testplan.testing.filtering.BaseTagFilter(tags)[source]
Bases:
FilterBase filter class for tag based filtering.
- category = 3
- class testplan.testing.filtering.Filter[source]
Bases:
BaseFilterNoop filter class, users can inherit from this to implement their own filters.
Returns True by default for all filtering operations, implicitly checks for test instances
filter_levelsdeclaration to apply the filtering logic.- category = 1
- class testplan.testing.filtering.FilterCategory(*values)[source]
Bases:
IntEnum- COMMON = 1
- PATTERN = 2
- TAG = 3
- class testplan.testing.filtering.FilterLevel(*values)[source]
Bases:
EnumThis enum is used by test classes (e.g. ~testplan.testing.base.Test) to declare the depth of filtering logic while
filtermethod is run.By default only
test(e.g. top) level filtering is used.- TEST = 'test'
- TESTCASE = 'testcase'
- TESTSUITE = 'testsuite'
- class testplan.testing.filtering.MetaFilter(*filters)[source]
Bases:
BaseFilterHigher level filter that allow composition of other filters.
- operator_str = None
- class testplan.testing.filtering.Not(filter_obj)[source]
Bases:
BaseFilterMeta filter that returns the inverse of the original filter result.
- class testplan.testing.filtering.Or(*filters)[source]
Bases:
MetaFilterMeta filter that returns True if ANY of the child filters return True.
- operator_str = '|'
- class testplan.testing.filtering.Pattern(pattern, match_uid=False)[source]
Bases:
FilterBase class for name based, glob style filtering.
https://docs.python.org/3/library/fnmatch.html
Examples:
<Multitest name>:<suite name>:<testcase name> <Multitest name>::<testcase name> *:<suite name>:
- ALL_MATCH = '*'
- MAX_LEVEL = 3
- classmethod any(*patterns: str)[source]
Shortcut for filtering against multiple patterns.
e.g. Pattern.any(<pattern 1>, <pattern 2>…)
- category = 2
- property pattern
- class testplan.testing.filtering.PatternAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None, deprecated=False)[source]
Bases:
ActionParser action for generating Pattern filters. Returns a list of Pattern filter objects.
In:
--patterns foo bar --patterns baz
Out:
[Pattern('foo'), Pattern('bar'), Pattern('baz')]
- class testplan.testing.filtering.Tags(tags)[source]
Bases:
BaseTagFilterTag filter that returns True if ANY of the given tags match.
- class testplan.testing.filtering.TagsAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None, deprecated=False)[source]
Bases:
ActionParser action for generating tags (any) filters.
In:
--tags foo bar hello=world --tags baz hello=mars
Out:
[ Tags({ 'simple': {'foo', 'bar'}, 'hello': {'world'}, }), Tags({ 'simple': {'baz'}, 'hello': {'mars'}, }) ]
- class testplan.testing.filtering.TagsAll(tags)[source]
Bases:
BaseTagFilterTag filter that returns True if ALL of the given tags match.
- class testplan.testing.filtering.TagsAllAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None, deprecated=False)[source]
Bases:
TagsActionParser action for generating tags (all) filters.
In:
--tags-all foo bar hello=world --tags-all baz hello=mars
Out:
[ TagsAll({ 'simple': {'foo', 'bar'}, 'hello': {'world'}, }), TagsAll({ 'simple': {'baz'}, 'hello': {'mars'}, }) ]
- testplan.testing.filtering.flatten_filters(metafilter_kls: Type[MetaFilter], filters: List[Filter]) List[Filter][source]
This is used for flattening nested filters of same type
So when we have something like:
Or(filter-1, filter-2) | Or(filter-3, filter-4)
We end up with:
Or(filter-1, filter-2, filter-3, filter-4)
Instead of:
Or(Or(filter-1, filter-2), Or(filter-3, filter-4))
- testplan.testing.filtering.parse_filter_args(parsed_args, arg_names)[source]
Utility function that’s used for grouping filters of the same category together. Will be used while parsing command line arguments for test filters.
Filters that belong to the same category will be grouped under Or whereas filters of different categories will be grouped under And.
In:
--patterns my_pattern --tags foo --tags-all bar baz
Out:
And( Pattern('my_pattern'), Or( Tags({'simple': {'foo'}}), TagsAll({'simple': {'bar', 'baz'}}), ) )
testplan.testing.listing module
This module contains logic for listing representing test context of a plan.
- class testplan.testing.listing.BaseLister[source]
Bases:
ListertypeBase of all listers, implement the
get_output()give it a name inNAMEand a description inDESCRIPTIONor alternatively overridename()and/ordescription()and it is good to be added tolisting_registry.
- class testplan.testing.listing.CountLister[source]
Bases:
BaseListerDisplays the number of suites and total testcases per test instance.
- DESCRIPTION = 'Lists top level instances and total number of suites & testcases per instance.'
- NAME = 'COUNT'
- class testplan.testing.listing.ExpandedNameLister[source]
Bases:
BaseListerLists names of the items within the test context:
Sample output:
- MultitestAlpha
- SuiteOne
testcase_foo testcase_bar
- SuiteTwo
testcase_baz
- MultitestBeta
…
- DESCRIPTION = 'List tests in readable format.'
- NAME = 'NAME_FULL'
- class testplan.testing.listing.ExpandedPatternLister[source]
Bases:
ExpandedNameListerLists the items in test context in a copy-pasta friendly format compatible with –patterns and –tags arguments.
Example:
- MultitestAlpha
- MultitestAlpha:SuiteOne –tags color=red
MultitestAlpha:SuiteOne:testcase_foo MultitestAlpha:SuiteOne:testcase_bar –tags color=blue
- MultitestAlpha:SuiteTwo
MultitestAlpha:SuiteTwo:testcase_baz
- MultitestBeta
…
- DESCRIPTION = 'List tests in `--patterns` / `--tags` compatible format.'
- NAME = 'PATTERN_FULL'
- class testplan.testing.listing.Listertype[source]
Bases:
object- DESCRIPTION = None
- NAME = None
- metadata_based = False
- class testplan.testing.listing.ListingArgMixin[source]
Bases:
ArgMixin- classmethod get_descriptions()[source]
Override this method to return a dictionary with Enums as keys and description strings as values.
This will later on be rendered via –help command.
- class testplan.testing.listing.ListingRegistry[source]
Bases:
objectA registry to store listers, add listers to the
listing_registryinstance which is used to create the commandline parser.
- class testplan.testing.listing.MetadataBasedLister[source]
Bases:
ListertypeBase of all metadata based listers, implement the
get_output()give it a name inNAMEand a description inDESCRIPTIONor alternatively overridename()and/ordescription()and it is good to be added tolisting_registry.- get_output(metadata: TestPlanMetadata)[source]
- log_test_info(metadata: TestPlanMetadata)[source]
- metadata_based = True
- class testplan.testing.listing.NameLister[source]
Bases:
TrimMixin,ExpandedNameListerTrimmed version of ExpandedNameLister
- DESCRIPTION = 'List tests in readable format.\n\tMax 25 testcases per suite will be displayed'
- NAME = 'NAME'
- class testplan.testing.listing.PatternLister[source]
Bases:
TrimMixin,ExpandedPatternListerLike test lister, but trims list of testcases if they exceed <MAX_TESTCASES>.
This is useful if the user has generated hundreds of testcases via parametrization.
- DESCRIPTION = 'List tests in `--patterns` / `--tags` compatible format.\n\tMax 25 testcases per suite will be displayed'
- NAME = 'PATTERN'
- class testplan.testing.listing.SimpleJsonLister[source]
Bases:
MetadataBasedLister- DESCRIPTION = 'Dump test information in json. Can take json:/path/to/output.json as well, then the result is dumped to the file'
- NAME = 'JSON'
- get_output(metadata: TestPlanMetadata)[source]
- class testplan.testing.listing.TrimMixin[source]
Bases:
object- DESCRIPTION = '\tMax 25 testcases per suite will be displayed'
- testplan.testing.listing.listing_registry = <testplan.testing.listing.ListingRegistry object>
Registry instance that will be used to create the commandline parser, this can be extended with new listers
testplan.testing.ordering module
Classes for sorting test context before a test run.
Warning: sort_instances functionality is not supported yet, but the API is available for future compatibility.
- class testplan.testing.ordering.AlphanumericSorter(sort_type=SortType.ALL)[source]
Bases:
TypedSorterSorter that uses basic alphanumeric ordering.
- class testplan.testing.ordering.NoopSorter[source]
Bases:
BaseSorterSorter that returns the original ordering.
- class testplan.testing.ordering.ShuffleSorter(shuffle_type=SortType.ALL, seed=None)[source]
Bases:
TypedSorterSorter that shuffles the ordering. It is idempotent in a way that, it will return the same ordering for the same seed for the same list.
- property randomizer
- class testplan.testing.ordering.SortType(*values)[source]
Bases:
EnumHelper enum used by sorter classes.
- ALL = 'all'
- INSTANCES = 'instances'
- SUITES = 'suites'
- TEST_CASES = 'testcases'
- class testplan.testing.ordering.TypedSorter(sort_type=SortType.ALL)[source]
Bases:
BaseSorterBase sorter that allows configuration of sort levels via sort_type argument.
testplan.testing.result module
Defines the Result object and its sub-namepsaces.
The Result object is the interface used by testcases to make assertions and log data. Entries contained in the result are copied into the Report object after testcases have finished running.
- class testplan.testing.result.AssertionNamespace(result)[source]
Bases:
objectBase class for assertion namespaces. Users can inherit from this class to implement custom namespaces.
- class testplan.testing.result.DictNamespace(result)[source]
Bases:
AssertionNamespaceContains logic for Dictionary related assertions.
- check(dictionary, description=None, category=None, has_keys=None, absent_keys=None)[source]
Checks for existence / absence of dictionary keys, uses top level keys in case of nested dictionaries.
result.dict.check( dictionary={ 'foo': 1, 'bar': 2, 'baz': 3, }, has_keys=['foo', 'alpha'], absent_keys=['bar', 'beta'] )
- Parameters:
dictionary (
dict) – Dict object to check.has_keys (
listorobject(items must be hashable)) – List of keys to check for existence.absent_keys (
listorobject(items must be hashable)) – List of keys to check for absence.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- log(dictionary, description=None)[source]
Logs a dictionary to the report.
result.dict.log( dictionary={ 'foo': [1, 2, 3], 'bar': {'color': 'blue'}, 'baz': 'hello world', } )
- Parameters:
dictionary (
dict) – Dict object to log.description (
str) – Text description for the assertion.
- Returns:
Always returns True, this is not an assertion so it cannot fail.
- Return type:
bool
- match(actual: ~typing.Dict, expected: ~typing.Dict, include_only_expected: bool = False, description: str = None, category: str = None, include_keys: ~typing.List[~typing.Hashable] = None, exclude_keys: ~typing.List[~typing.Hashable] = None, report_mode=ReportOptions.ALL, actual_description: str = None, expected_description: str = None, value_cmp_func: ~typing.Callable[[~typing.Any, ~typing.Any], bool] = <built-in function eq>) DictMatch[source]
Matches two dictionaries, supports nested data. Custom comparators can be used as values on the
expecteddict.from testplan.common.utils import comparison result.dict.match( actual={ 'foo': 1, 'bar': 2, }, expected={ 'foo': 1, 'bar': 5, 'extra-key': 10, }, ) result.dict.match( actual={ 'foo': [1, 2, 3], 'bar': {'color': 'blue'}, 'baz': 'hello world', }, expected={ 'foo': [1, 2, lambda v: isinstance(v, int)], 'bar': { 'color': comparison.In(['blue', 'red', 'yellow']) }, 'baz': re.compile(r'\w+ world'), } )
- Parameters:
actual – Original dictionary.
expected – Comparison dictionary, can contain custom comparators (e.g. regex, lambda functions)
include_only_expected – Use the keys present in the expected dictionary.
include_keys – Keys to exclusively consider in the comparison.
exclude_keys – Keys to ignore in the comparison.
report_mode – Specify which comparisons should be kept and reported. Default option is to report all comparisons but this can be restricted if desired. See ReportOptions enum for more detail.
actual_description – Column header description for original dict.
expected_description – Column header description for expected dict.
description – Text description for the assertion.
category – Custom category that will be used for summarization.
value_cmp_func – Function to use to compare values in expected and actual dicts. Defaults to using operator.eq().
- Returns:
Assertion pass status
- match_all(values, comparisons, description=None, category=None, key_weightings=None)[source]
Match multiple unordered dictionaries.
Initially all value/expected comparison combinations are evaluated and converted to an error weight.
If certain keys are more important than others, it is possible to give them additional weighting during the comparison, by specifying a “key_weightings” dict. The default weight of a mismatch is 100.
The values/comparisons permutation that results in the least error appended to the report.
result.dict.match_all( values=[ {'foo': 12, ...}, {'foo': 13, ...}, ... ], comparisons=[ Expected({'foo': 12, ...}), Expected({'foo': 15, ...}) ... ], # twice the default weight of 100 key_weightings={'foo': 200})
- Parameters:
values (
listofdict) – Original values.comparisons (
listoftestplan.common.utils.comparison.Expected) – Comparison objects.key_weightings (
dict) – Per-key overrides that specify a different weight for different keys.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- class testplan.testing.result.ExceptionCapture(result, assertion_kls, exceptions, pattern=None, func=None, description=None, category=None)[source]
Bases:
objectException capture scope, will be used by exception related assertions. An instance of this class will be used as a context manager by exception related assertion methods.
- class testplan.testing.result.FixNamespace(result)[source]
Bases:
AssertionNamespaceContains assertion logic that operates on fix messages.
- check(msg, description=None, category=None, has_tags=None, absent_tags=None)[source]
Checks existence / absence of tags in a Fix message. Checks top level tags only.
result.fix.check( msg={ 36: 6, 22: 5, 55: 2, 38: 5, 555: [ .. more nested data here ... ] }, has_tags=[26, 22, 11], absent_tags=[444, 555], )
- Parameters:
msg (
dict) – Fix message.has_tags (
listofobject(items must be hashable)) – List of tags to check for existence.absent_tags (
listofobject(items must be hashable)) – List of tags to check for absence.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- log(msg, description=None)[source]
Logs a fix message to the report.
result.fix.log( msg={ 36: 6, 22: 5, 55: 2, 38: 5, 555: [ .. more nested data here ... ] } )
- Parameters:
msg (
dictorpyfixmsg.fixmessage.FixMessage) – Fix message.description (
str) – Text description for the assertion.
- Returns:
Always returns True, this is not an assertion so it cannot fail.
- Return type:
bool
- match(actual: Dict, expected: Dict, include_only_expected: bool = False, description: str = None, category: str = None, include_tags: List[Hashable] = None, exclude_tags: List[Hashable] = None, report_mode=ReportOptions.ALL, actual_description: str = None, expected_description: str = None) FixMatch[source]
Matches two FIX messages, supports repeating groups (nested data). Custom comparators can be used as values on the
expectedmsg.result.fix.match( actual={ 36: 6, 22: 5, 55: 2, 38: 5, 555: [ .. more nested data here ... ] }, expected={ 36: 6, 22: 5, 55: lambda val: val in [2, 3, 4], 38: 5, 555: [ .. more nested data here ... ] } )
- Parameters:
actual – Original FIX message.
expected – Expected FIX message, can include compiled regex patterns or callables for advanced comparison.
include_only_expected – Use the tags present in the expected message.
include_tags – Tags to exclusively consider in the comparison.
exclude_tags – Keys to ignore in the comparison.
report_mode – Specify which comparisons should be kept and reported. Default option is to report all comparisons but this can be restricted if desired. See ReportOptions enum for more detail.
actual_description – Column header description for original msg.
expected_description – Column header description for expected msg.
description – Text description for the assertion.
category – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- match_all(values, comparisons, description=None, category=None, tag_weightings=None)[source]
Match multiple unordered FIX messages.
Initially all value/expected comparison combinations are evaluated and converted to an error weight.
If certain fix tags are more important than others (e.g. ID FIX tags), it is possible to give them additional weighting during the comparison, by specifying a “tag_weightings” dict.
The default weight of a mismatch is 100.
The values/comparisons permutation that results in the least error appended to the report.
result.dict.match_all( values=[ { 36: 6, 22: 5, 55: 2, ...}, { 36: 7, ...}, ... ], comparisons=[ Expected({ 36: 6, 22: 5, 55: 2, ...},), Expected({ 36: 7, ...}) ... ], # twice the default weight of 100 key_weightings={36: 200})
- Parameters:
values (
listofdict) – Original values.comparisons (
listoftestplan.common.utils.comparison.Expected) – Comparison objects.tag_weightings (
dict) – Per-tag overrides that specify a different weight for different tags.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- class testplan.testing.result.LogfileExpect(result, log_matcher, regex, timeout, description, category)[source]
Bases:
ScopedLogfileMatchScopedLogfileMatch with assertion operation.
- class testplan.testing.result.LogfileNamespace(result)[source]
Bases:
AssertionNamespaceContains assertion methods that operates on log files equipped with
LogMatcher.- expect(log_matcher: LogMatcher, regex: str | bytes | Pattern, timeout: float = 5.0, description: str | None = None, category: str | None = None)[source]
Call as context manager for pattern matching in logfile, given expected lines (indirectly) produced by context manager body, with matching results logged to the report. On enter doing position setting to EOF operation as
result.logfile.seek_eof, on exit doing matching operation asresult.logfile.match.with result.logfile.expect( log_matcher, r".*passed.*", timeout=2.0, description="my logfile match assertion", ): ...
- Parameters:
log_matcher – LogMatcher on target logfile.
regex – Regular expression as expected pattern in target logfile.
timeout – Match timeout value in seconds.
description – Text description for the assertion.
category – Custom category that will be used for summarization.
- match(log_matcher: LogMatcher, regex: str | bytes | Pattern, timeout: float = 5.0, description: str | None = None, category: str | None = None)[source]
Match patterns in logfile using LogMatcher, with matching results logged to the report.
result.logfile.match( log_matcher, r".*passed.*", timeout=2.0, description="my logfile match assertion", )
- Parameters:
log_matcher – LogMatcher on target logfile.
regex – Regular expression as expected pattern in target logfile.
timeout – Match timeout value in seconds.
description – Text description for the assertion.
category – Custom category that will be used for summarization.
- seek_eof(log_matcher: LogMatcher, description: str | None = None)[source]
Set the position of LogMatcher to end of logfile, with operation logged to the report.
result.logfile.seek_eof(log_matcher)
- Parameters:
log_matcher – LogMatcher on target logfile.
description – Custom text description for the entry.
- class testplan.testing.result.RegexNamespace(result)[source]
Bases:
AssertionNamespaceContains logic for regular expression assertions.
- findall(regexp, value, description=None, category=None, flags=0, condition=None)[source]
Checks if there are one or more matches of the
regexpexist in thevalueviare.finditer. Can apply further assertions viaconditionfunc.result.regex.findall( regexp='foo', value='foo foo foo bar bar foo bar', condition=lambda num_matches: 2 < num_matches < 5, )
- Parameters:
regexp (
stror compiled regex) – String pattern or compiled regexp object.value (
str) – String to match against.flags (
int) – Regex flags that will be passed to there.finditerfunction.condition (
callable) – A callable that accepts a single argument, which is the number of matches (int).description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- match(regexp, value, description=None, category=None, flags=0)[source]
Checks if the given
regexpmatches thevalueviare.matchoperation.result.regex.match(regexp='foo', value='foobar')
- Parameters:
regexp (
stror compiled regex) – String pattern or compiled regexp object.value (
str) – String to match against.flags (
int) – Regex flags that will be passed to there.matchfunction.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- matchline(regexp, value, description=None, category=None, flags=0)[source]
Checks if the given
regexpreturns a match (re.match) for any of the lines in thevalue.result.regex.matchline( regexp=re.compile(r'\w+ line$'), value=os.linesep.join([ 'first line', 'second aaa', 'third line' ]), )
- Parameters:
regexp (
stror compiled regex) – String pattern or compiled regexp object.value (
str) – String to match against.flags (
int) – Regex flags that will be passed to there.matchfunction.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- multiline_match(regexp, value, description=None, category=None)[source]
Checks if the given
regexpmatches thevalueviare.matchoperation, usesre.MULTILINEandre.DOTALLflags implicitly.result.regex.multiline_match( regexp='first line.*second', value=os.linesep.join([ 'first line', 'second line', 'third line' ]), )
- Parameters:
regexp (
stror compiled regex) – String pattern or compiled regexp object.value (
str) – String to match against.description (
str) – text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status.
- Return type:
bool
- multiline_not_match(regexp, value, description=None, category=None)[source]
Checks if the given
regexpdoes not match thevalueviare.matchoperation, usesre.MULTILINEandre.DOTALLflags implicitly.result.regex.multiline_not_match( regexp='foobar', value=os.linesep.join([ 'first line', 'second line', 'third line' ]), )
- Parameters:
regexp (
stror compiled regex) – String pattern or compiled regexp object.value (
str) – String to match against.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- not_match(regexp, value, description=None, category=None, flags=0)[source]
Checks if the given
regexpdoes not match thevalueviare.matchoperation.result.regex.not_match('baz', 'foobar')
- Parameters:
regexp (
stror compiled regex) – String pattern or compiled regexp object.value (
str) – String to match against.flags (
int) – Regex flags that will be passed to there.matchfunction.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status.
- Return type:
bool
- search(regexp, value, description=None, category=None, flags=0)[source]
Checks if the given
regexpexists in thevalueviare.searchoperation.result.regex.search('bar', 'foobarbaz')
- Parameters:
regexp (
stror compiled regex) – String pattern or compiled regexp object.value (
str) – String to match against.flags (
int) – Regex flags that will be passed to there.searchfunction.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- search_empty(regexp, value, description=None, category=None, flags=0)[source]
Checks if the given
regexpdoes not exist in thevalueviare.searchoperation.result.regex.search_empty('aaa', 'foobarbaz')
- Parameters:
regexp (
stror compiled regex) – String pattern or compiled regexp object.value (
str) – String to match against.flags (
int) – Regex flags that will be passed to there.searchfunction.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- class testplan.testing.result.Result(stdout_style=None, continue_on_failure=True, _group_description=None, _parent=None, _summarize=False, _num_passing=5, _num_failing=5, _scratch=None, _collect_code_context=False)[source]
Bases:
objectContains assertion methods and namespaces for generating test data. A new instance of
Resultobject is passed to each testcase when a suite is run.- attach(path, description=None, ignore=None, only=None, recursive=False)[source]
Attaches a file to the report.
- Parameters:
path (
str) – Path to the file or directory be to attached.description (
str) – Text description for the assertion.ignore (
listorNoneType) – List of patterns of file name to ignore when attaching a directory.only (
listorNoneType) – List of patterns of file name to include when attaching a directory.recursive (
bool) – Recursively traverse sub-directories and attach all files, default is to only attach files in top directory.
- Returns:
Always returns True, this is not an assertion so it cannot fail.
- Return type:
bool
- conditional_log(condition, log_message, log_description, fail_description, flag=None)[source]
A compound assertion that does result.log() or result.fail() depending on the truthiness of condition.
result.conditional_log( some_condition, log_message, log_description, fail_description, )
is a shortcut for writing:
if some_condition: result.log(log_message, description=log_description) else: result.fail(fail_description)
- Parameters:
condition – Value to be evaluated for truthiness
condition –
objectlog_message (
str) – Message to pass to result.log if condition evaluates to True.log_description (
str) – Description to pass to result.log if condition evaluates to True.fail_description (
str) – Description to pass to result.fail if condition evaluates to False.flag – Custom flag of the assertion which is reserved and can be used for some special purpose.
- Returns:
True- Return type:
bool
- contain(member, container, description=None, category=None)[source]
Checks if
member in container.result.contain(1, [1, 2, 3, 4], 'Custom description')
- Parameters:
member (
object) – Item to be checked for existence in the container.container (
object) – Container object, should support item lookup operations.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- diff(first, second, ignore_space_change=False, ignore_whitespaces=False, ignore_blank_lines=False, unified=False, context=False, description=None, category=None)[source]
Line diff assertion. Fail if at least one difference found.
text1 = 'a b c\nd\n' text2 = 'a b c\nd\t\n' result.diff(text1, text2, ignore_space_change=True)
- Parameters:
first (
strorlist) – The first piece of textual content to be compared.second (
strorlist) – The second piece of textual content to be compared.ignore_space_change (
bool) – Ignore changes in the amount of whitespace.ignore_whitespaces (
bool) – Ignore all white space.ignore_blank_lines (
bool) – Ignore changes whose lines are all blank.unified (
boolorint) – If truth value, output differences in unified context. Use an integer to specify the number of lines of leading context before matching lines and trailing context after matching lines. Defaults to 3.context (
boolorint) – If truth value, output differences in copied context. Use an integer to specify the number of lines of leading context before matching lines and trailing context after matching lines. Defaults to 3.
- Returns:
Assertion pass status
- Return type:
bool
- eq(actual, expected, description=None, category=None)
Equality assertion, checks if
actual == expected. Can be used via shortcut:result.eq.result.equal('foo', 'foo', 'Custom description')
- Parameters:
actual (
object) – First (actual) value of the comparison.expected (
object) – Second (expected) value of the comparison.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- equal(actual, expected, description=None, category=None)[source]
Equality assertion, checks if
actual == expected. Can be used via shortcut:result.eq.result.equal('foo', 'foo', 'Custom description')
- Parameters:
actual (
object) – First (actual) value of the comparison.expected (
object) – Second (expected) value of the comparison.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- equal_exclude_slices(actual, expected, slices, description=None, category=None)[source]
Checks if items that exist outside the given slices of
actualandexpectedare equal.result.equal_exclude_slices( [1, 2, 3, 4, 5, 6, 7, 8], ['a', 'b', 3, 4, 'c', 'd', 'e', 'f'], slices=[slice(0, 2), slice(4, 8)], description='Comparison of slices (exclusion)' )
- Parameters:
actual (
objectthat supports slice operations.) – First (actual) value of the comparison.expected (
objectthat supports slice operations.) – Second (expected) value of the comparison.slices (
listofslice) – Slices that will be used for exclusion of items fromactualandexpected.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- equal_slices(actual, expected, slices, description=None, category=None)[source]
Checks if given slices of
actualandexpectedare equal.result.equal_slices( [1, 2, 3, 4, 5, 6, 7, 8], ['a', 'b', 3, 4, 'c', 'd', 7, 8], slices=[slice(2, 4), slice(6, 8)], description='Comparison of slices' )
- Parameters:
actual (
objectthat supports slice operations.) – First (actual) value of the comparison.expected (
objectthat supports slice operations.) – Second (expected) value of the comparison.slices (
listofslice) – Slices that will be applied toactualandexpected.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- fail(message: str, description: str | None = None, flag: str | None = None, category: str | None = None) Fail[source]
Failure assertion, can be used for explicitly failing a testcase. The message will be included by email exporter. Most common usage is within a conditional block.
if some_condition: result.fail('Unexpected failure: {}'.format(...))
- Parameters:
description – Text description of the failure.
category – Custom category that will be used for summarization.
flag – custom flag - reserved parameter
- Returns:
False
- false(value, description=None, category=None)[source]
Boolean assertion, checks if
valueis falsy.result.false(some_obj, 'Custom description')
- Parameters:
value (
object) – Value to be evaluated for falsiness.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- flow_chart(nodes, edges, description=None)[source]
Displays a flow chart in the report.
- Parameters:
nodes (
listofstr) – List of nodesedges (
listofdict) – List of edges
- Returns:
Always returns True, this is not an assertion so it cannot fail.
- Return type:
bool
- ge(first, second, description=None, category=None)
Checks if
first >= second. Can be used via shortcut:result.geresult.greater_equal(5, 3, 'Custom description')
- Parameters:
first (
object) – Left side of the comparison.second (
object) – Right side of the comparison.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- get_namespaces()[source]
This method can be overridden for enabling custom assertion namespaces for child classes.
- graph(graph_type, graph_data, description, series_options, graph_options)[source]
Displays a Graph in the report.
result.graph('Line', { 'graph 1':[{'x': 0, 'y': 8},{'x': 1, 'y': 5}] }, description='Line Graph', series_options={'graph 1':{"colour": "red"}}, graph_options=None)
- Parameters:
graph_type (
str) – Type of graph user wants to create. Currently implemented: ‘Line’, ‘Scatter’, ‘Bar’, ‘Hexbin’, ‘Pie’, ‘Whisker’, ‘Contour’graph_data (
dict[str, list]) – Data to plot on the graph, for each series.description (
str) – Text description for the graph.series_options (
dict[str, dict[str, object]]`.) – Customisation parameters for each individual series. Currently implemented: 1){‘Colour’:str} - colour of that series (str can be either basic colour name or RGB)graph_options (
dict[str, object].) –Customisation parameters for overall graph Currently implemented:
1){‘xAxisTitle’:
str} - x axis graph title 2){‘yAxisTitle’:str} - y axis graph title 3){‘legend’:bool} - to display legend legend (Default: false)
- greater(first, second, description=None, category=None)[source]
Checks if
first > second. Can be used via shortcut:result.gtresult.greater(5, 3, 'Custom description')
- Parameters:
first (
object) – Left side of the comparison.second (
object) – Right side of the comparison.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- greater_equal(first, second, description=None, category=None)[source]
Checks if
first >= second. Can be used via shortcut:result.geresult.greater_equal(5, 3, 'Custom description')
- Parameters:
first (
object) – Left side of the comparison.second (
object) – Right side of the comparison.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- group(description=None, summarize=False, num_passing=5, num_failing=5)[source]
Creates an assertion group or summary, which is helpful for formatting assertion data on certain output targets (e.g. PDF, JSON) and reducing the amount of content that gets displayed.
Should be used as a context manager.
# Group and sub groups with result.group(description='Custom group description') as group: group.not_equal(2, 3, description='Assertion within a group') group.greater(5, 3) with group.group() as sub_group: sub_group.less(6, 3, description='Assertion in sub group') # Summary example with result.group( summarize=True, num_passing=4, num_failing=10, ) as group: for i in range(500): # First 4 passing assertions will be displayed group.equal(i, i) # First 10 failing assertions will be displayed group.equal(i, i + 1)
- Parameters:
description (
str) – Text description for the assertion group.summarize (
bool) – Flag for enabling summarization.num_passing (
int) – Max limit for number of passing assertions per category & assertion type.num_failing (
int) – Max limit for number of failing assertions per category & assertion type.
- Returns:
A new result object that refers the current result as a parent.
- Return type:
Result object
- gt(first, second, description=None, category=None)
Checks if
first > second. Can be used via shortcut:result.gtresult.greater(5, 3, 'Custom description')
- Parameters:
first (
object) – Left side of the comparison.second (
object) – Right side of the comparison.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- isclose(first, second, rel_tol=1e-09, abs_tol=0.0, description=None, category=None)[source]
Checks if
firstandsecondare approximately equal.result.isclose(99.99, 100, 0.001, 0.0, 'Custom description')
- Parameters:
first (
numbers.Number) – The first item to be compared for approximate equality.second (
numbers.Number) – The second item to be compared for approximate equality.rel_tol (
numbers.Real) – The relative tolerance.abs_tol (
numbers.Real) – The minimum absolute tolerance level.
- Returns:
Assertion pass status
- Return type:
bool
- le(first, second, description=None, category=None)
Checks if
first <= second. Can be used via shortcut:result.leresult.less_equal(5, 3, 'Custom description')
- Parameters:
first (
object) – Left side of the comparison.second (
object) – Right side of the comparison.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- less(first, second, description=None, category=None)[source]
Checks if
first < second. Can be used via shortcut:result.ltresult.less(3, 5, 'Custom description')
- Parameters:
first (
object) – Left side of the comparison.second (
object) – Right side of the comparison.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- less_equal(first, second, description=None, category=None)[source]
Checks if
first <= second. Can be used via shortcut:result.leresult.less_equal(5, 3, 'Custom description')
- Parameters:
first (
object) – Left side of the comparison.second (
object) – Right side of the comparison.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- log(message, description=None, flag=None)[source]
Create a string message entry, can be used for providing additional context related to test steps.
result.log('Custom log message ...')
- Parameters:
message (
stror instance) – Log messagedescription (
str) – Text description for the assertion.flag – Custom flag of the assertion which is reserved and can be used for some special purpose.
flag –
strorNoneType
- Returns:
Always returns True, this is not an assertion so it cannot fail.
- Return type:
bool
- log_code(code, language='python', description=None)[source]
Create a codelog message entry which contains code snippet, can be used for providing additional context related to test steps.
- Parameters:
code (
str) – The source code string.language (
str) – The language of source code. e.g. js, xml, python, java, c, cpp, bash. Defaults to python.description (
str) – Text description for the assertion.
- Returns:
True- Return type:
bool
- log_html(code, description='Embedded HTML')[source]
Create a markdown message entry without escape, can be used for providing additional context related to test steps.
- Parameters:
code (
str) – HTML code string. Tag <script> will not be executed.description (
str) – Text description for the assertion.
- Returns:
True- Return type:
bool
- lt(first, second, description=None, category=None)
Checks if
first < second. Can be used via shortcut:result.ltresult.less(3, 5, 'Custom description')
- Parameters:
first (
object) – Left side of the comparison.second (
object) – Right side of the comparison.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- markdown(message, description=None, escape=True)[source]
Create a markdown message entry, can be used for providing additional context related to test steps.
result.markdown( 'Markdown string ....', description='Test', escape=False )
- Parameters:
message (
str) – Markdown stringdescription (
str) – Text description for the assertion.escape – Escape html.
escape –
bool
- Returns:
True- Return type:
bool
- matplot(pyplot, width=None, height=None, description=None)[source]
Displays a Matplotlib plot in the report.
- Parameters:
pyplot (
matplotlib.pyplot) – Matplotlib pyplot object to be displayed.width (
int) – Figure width in inches, use pyplot defaul if not specifiedheight (
int) – Figure height in inches, use pyplot default if not specifieddescription (
str) – Text description for the assertion.
- Returns:
Always returns True, this is not an assertion so it cannot fail.
- Return type:
bool
- namespaces = {'dict': <class 'testplan.testing.result.DictNamespace'>, 'fix': <class 'testplan.testing.result.FixNamespace'>, 'logfile': <class 'testplan.testing.result.LogfileNamespace'>, 'regex': <class 'testplan.testing.result.RegexNamespace'>, 'table': <class 'testplan.testing.result.TableNamespace'>, 'xml': <class 'testplan.testing.result.XMLNamespace'>}
- ne(actual, expected, description=None, category=None)
Inequality assertion, checks if
actual != expected. Can be used via shortcut:result.ne.result.not_equal('foo', 'bar', 'Custom description')
- Parameters:
actual (
object) – First (actual) value of the comparison.expected (
object) – Second (expected) value of the comparison.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- not_contain(member, container, description=None, category=None)[source]
Checks if
member not in container.result.not_contain(5, [1, 2, 3, 4], 'Custom description')
- Parameters:
member (
object) – Item to be checked for absence from the container.container (
object) – Container object, should support item lookup operations.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- not_equal(actual, expected, description=None, category=None)[source]
Inequality assertion, checks if
actual != expected. Can be used via shortcut:result.ne.result.not_equal('foo', 'bar', 'Custom description')
- Parameters:
actual (
object) – First (actual) value of the comparison.expected (
object) – Second (expected) value of the comparison.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- not_raises(exceptions, description=None, category=None, pattern=None, func=None)[source]
Checks if given code block does not raise certain type(s) of exception(s).
Supports further checks via
patternandfuncarguments.with result.not_raises(AttributeError): {'foo': 3}['bar'] with result.raises(ValueError, pattern='foo') raise ValueError('abc xyz') def check_exception(exc): ... with result.raises(TypeError, func=check_exception): raise TypeError(...)
- Parameters:
exceptions (
listofExceptionclasses or a singleExceptionclass) – Exception types to check.pattern (
stror compiled regex object) – String pattern that will be searched (re.searched) within exception message.func (
callable) – Callable that accepts a single argument (the exception object)description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- property passed
Entries stored passed status.
- raises(exceptions, description=None, category=None, pattern=None, func=None)[source]
Checks if given code block raises certain type(s) of exception(s). Supports further checks via
patternandfuncarguments.with result.raises(KeyError): {'foo': 3}['bar'] with result.raises(ValueError, pattern='foo') raise ValueError('abc foobar xyz') def check_exception(exc): ... with result.raises(TypeError, func=check_exception): raise TypeError(...)
- Parameters:
exceptions (
listofExceptionclasses or a singleExceptionclass) – Exception types to check.pattern (
stror compiled regex object) – String pattern that will be searched (re.searched) within exception message.func (
callable) – Callable that accepts a single argument (the exception object)description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- property serialized_entries
Return entry data in dictionary form. This will then be stored in related
TestCaseReport’sentriesattribute.
- skip(reason: str, description: str | None = None)[source]
Skip a testcase with the given reason.
- Parameters:
reason (
str) – The message to show the user as reason for the skip.description (
str) – Text description for the assertion.
- true(value, description=None, category=None)[source]
Boolean assertion, checks if
valueis truthy.result.true(some_obj, 'Custom description')
- Parameters:
value (
object) – Value to be evaluated for truthiness.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- class testplan.testing.result.TableNamespace(result)[source]
Bases:
AssertionNamespaceContains logic for regular expression assertions.
- column_contain(table, values, column, description=None, category=None, limit=None, report_fails_only=False)[source]
Checks if all of the values of a table’s column contain values from a given list.
result.table.column_contain( table=[ ['symbol', 'amount'], ['AAPL', 12], ['GOOG', 21], ['FB', 32], ['AMZN', 5], ['MSFT', 42] ], values=['AAPL', 'AMZN'], column='symbol', )
- Parameters:
table (
listoflistorlistofdict.) – Tabular datavalues (
iterableofobject) – Values that will be checked against each cell.column (
str) – Column name to check.limit (
int) – Maximum number of rows to process, can be used for limiting output.report_fails_only (
bool) – Filtering option, output will contain failures only if this argument is True.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- diff(actual, expected, description=None, category=None, include_columns=None, exclude_columns=None, report_all=True, fail_limit=0)[source]
Find differences of two tables, uses equality for each table cell for plain values and supports regex / custom comparators as well. The result will contain only failing comparisons.
If the columns of the two tables are not the same, either
include_columnsorexclude_columnsarguments must be used to have column uniformity.result.table.diff( actual=[ ['name', 'age'], ['Bob', 32], ['Susan', 24], ], expected=[ ['name', 'age'], ['Bob', 33], ['David', 24], ] ) result.table.diff( actual=[ ['name', 'age'], ['Bob', 32], ['Susan', 24], ], expected=[ ['name', 'age'], [re.compile(r'^B\w+'), 33], ['David', lambda age: 20 < age < 50], ] )
- Parameters:
actual (
listoflistorlistofdict.) – Tabular dataexpected (
listoflistorlistofdict.) – Tabular data, which can contain custom comparators.include_columns (
listofstr) – List of columns to include in the comparison. Cannot be used withexclude_columns.exclude_columns (
listofstr) – List of columns to exclude from the comparison. Cannot be used withinclude_columns.report_all (
bool) – Boolean flag for configuring output. If True then all columns of the original table will be displayed.fail_limit (
int) – Max number of failures before aborting the comparison run. Useful for large tables, when we want to stop after we have N rows that fail the comparison.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- log(table, display_index=False, description=None)[source]
Logs a table to the report.
result.table.log( table=[ ['name', 'age', 'gender'], ['Bob', 32, 'M'], ['Susan', 24, 'F'], ] )
- Parameters:
table (
listoflistorlistofdict) – Tabular data.display_index (
bool) – Flag whether to display row indices.description (
str) – Text description for the assertion.
- Returns:
Always returns True, this is not an assertion so it cannot fail.
- Return type:
bool
- match(actual, expected, description=None, category=None, include_columns=None, exclude_columns=None, report_all=True, fail_limit=0)[source]
Compares two tables, uses equality for each table cell for plain values and supports regex / custom comparators as well.
If the columns of the two tables are not the same, either
include_columnsorexclude_columnsarguments must be used to have column uniformity.result.table.match( actual=[ ['name', 'age'], ['Bob', 32], ['Susan', 24], ], expected=[ ['name', 'age'], ['Bob', 33], ['David', 24], ] ) result.table.match( actual=[ ['name', 'age'], ['Bob', 32], ['Susan', 24], ], expected=[ ['name', 'age'], [re.compile(r'^B\w+'), 33], ['David', lambda age: 20 < age < 50], ] )
- Parameters:
actual (
listoflistorlistofdict.) – Tabular dataexpected (
listoflistorlistofdict.) – Tabular data, which can contain custom comparators.include_columns (
listofstr) – List of columns to include in the comparison. Cannot be used withexclude_columns.exclude_columns (
listofstr) – List of columns to exclude from the comparison. Cannot be used withinclude_columns.report_all (
bool) – Boolean flag for configuring output. If True then all columns of the original table will be displayed.fail_limit (
int) – Max number of failures before aborting the comparison run. Useful for large tables, when we want to stop after we have N rows that fail the comparison.description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- class testplan.testing.result.XMLNamespace(result)[source]
Bases:
AssertionNamespaceContains logic for XML related assertions.
- check(element, xpath, description=None, category=None, tags=None, namespaces=None)[source]
Checks if given xpath and tags exist in the XML body. Supports namespace based matching as well.
result.xml.check( element=''' <Root> <Test>Value1</Test> <Test>Value2</Test> </Root> ''', xpath='/Root/Test', tags=['Value1', 'Value2'], ) result.xml.check( element=''' <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <ns0:message xmlns:ns0="http://testplan">Hello world!</ns0:message> </SOAP-ENV:Body> </SOAP-ENV:Envelope> ''', xpath='//*/a:message', tags=[re.compile(r'Hello*')], namespaces={"a": "http://testplan"}, )
- Parameters:
element (
strorlxml.etree.Element) – XML elementxpath (
str) – XPath expression to be used for navigation & check.tags (
listofstror compiled regex patterns) – Tag values to match against in the given xpath.namespaces (
dict) – Prefix mapping for xpath expressions. (namespace prefixes as keys and URIs for values.)description (
str) – Text description for the assertion.category (
str) – Custom category that will be used for summarization.
- Returns:
Assertion pass status
- Return type:
bool
- testplan.testing.result.report_target(func: Callable, ref_func: Callable = None) Callable[source]
Sets the decorated function’s filepath and line-range in assertion state. If the target function is a parametrized function, should refer to its parametrized template to find information of the original function.
- Parameters:
func – The target function about which the information of source path and line range will be retrieved.
ref_func – The parametrized template if func is a generated function, otherwise
None.
testplan.testing.tagging module
Generic Tagging logic.
- testplan.testing.tagging.check_all_matching_tags(tag_arg_dict, target_tag_dict)[source]
Return True if all tag sets in tag_arg_dict is a subset of the matching categories in target_tag_dict.
- testplan.testing.tagging.check_any_matching_tags(tag_arg_dict, target_tag_dict)[source]
Return true if there is at least one match for a category.
- testplan.testing.tagging.merge_tag_dicts(*tag_dicts)[source]
Utility function for merging tag dicts for easy comparisons.
- testplan.testing.tagging.parse_tag_arguments(*tag_arguments)[source]
Parse command line tag arguments into a dictionary of sets.
For the call below:
--tags foo bar named-tag=one,two named-tag=three hello=worldWe will get:
[ {'simple': {'foo'}, {'simple', {'bar'}, {'named_tag', {'one', 'two'}, {'named_tag', {'three'}, {'hello', {'world'} ]
The repeated tag values will later on be grouped together via TagsAction.
- testplan.testing.tagging.tag_label(tag_dict)[source]
Return tag data in readable format.
>>> tag_dict = { 'simple': set(['foo', 'bar']), 'tag_group_1': set(['some-value']), 'other_group': set(['one', 'two', 'three']) }
>>> tag_label(tag_dict) Tags: foo bar tag_group_1=some-value other_group=one,two,three
- testplan.testing.tagging.validate_tag_value(tag_value)[source]
Validate a tag value, make sure it is of correct type. Return a tag dict for internal representation.
Sample input / output:
‘foo’ -> {‘simple’: {‘foo’} (‘foo’, ‘bar’) -> {‘simple’: {‘foo’, ‘bar’} {‘color’: ‘red’} -> {‘color’: {‘red’} {‘color’: (‘red’, ‘blue’)} -> {‘color’: {‘red’, ‘blue’}
- Parameters:
tag_value (
string,iterableofstringor adictwithstringkeys andstringoriterableofstringas values.) – User defined tag value.- Returns:
Internal representation of the tag context.
- Return type:
dictofset
testplan.testing.py_test module
PyTest test runner.
- class testplan.testing.py_test.PyTest(name, target, description=None, select='', extra_args=None, result=<class 'testplan.testing.result.Result'>, **options)[source]
Bases:
TestPyTest plugin for Testplan. Allows tests written for PyTest to be run from Testplan, with the test results logged and included in the Testplan report.
- Parameters:
name (
str) – Test instance name, often used as uid of test entity.target (
strorlistofstr) – Target of PyTest configuration.description (
str) – Description of test instance.select (
str) – Selection of PyTest configuration.extra_args (
NoneTypeorlistofstr) – Extra arguments passed to pytest.result (
Result) – Result that contains assertion entries.
Also inherits all
Testoptions.- CONFIG
alias of
PyTestConfig
- get_test_context()[source]
Inspect the test suites and cases by running PyTest with the –collect-only flag and passing in our collection plugin.
- Returns:
List containing pairs of suite name and testcase names.
- Return type:
List[Tuple[str, List[str]]]
- run_testcases_iter(testsuite_pattern: str = '*', testcase_pattern: str = '*', shallow_report: Dict = None) Generator[source]
Run all testcases and yield testcase reports.
- Parameters:
testsuite_pattern – pattern to match for testsuite names
testcase_pattern – pattern to match for testcase names
shallow_report – shallow report entry
- Returns:
generator yielding testcase reports and UIDs for merge step
testplan.testing.pyunit module
PyUnit test runner.
- class testplan.testing.pyunit.PyUnit(name, testcases, description=None, **kwargs)[source]
Bases:
TestTest runner for PyUnit unit tests.
- Parameters:
name (
str) – Test instance name, often used as uid of test entity.testcases (
TestCase) – PyUnit testcases.description (
str) – Description of test instance.
Also inherits all
Testoptions.- CONFIG
alias of
PyUnitConfig
- get_test_context()[source]
Currently we do not inspect individual PyUnit testcases - only allow the whole suite to be run.
- run_testcases_iter(testsuite_pattern: str = '*', testcase_pattern: str = '*', shallow_report: Dict = None) Generator[source]
Run all testcases and yield testcase reports.
- Parameters:
testsuite_pattern – pattern to match for testsuite names
testcase_pattern – pattern to match for testcase names
shallow_report – shallow report entry
- Returns:
generator yielding testcase reports and UIDs for merge step
- class testplan.testing.pyunit.PyUnitConfig(**options)[source]
Bases:
TestConfigConfiguration object for :py:class`~testplan.testing.pyunit.PyUnit` test runner.
testplan.testing.junit module
JUnit test runner.
- class testplan.testing.junit.JUnit(name, binary, results_dir, junit_args=None, junit_filter=None, **options)[source]
Bases:
ProcessRunnerTestSubprocess test runner for JUnit: https://junit.org/junit5/docs/current/user-guide/
Please note that the test (either native binary or script) should generate XML format report so that Testplan is able to parse the result.
gradle test
- Parameters:
name (
str) – Test instance name, often used as uid of test entity.binary (
str) – Path to the gradle binary or script.description (
str) – Description of test instance.junit_args (
NoneTypeorlist) – Customized command line arguments for Junit testresults_dir (
str) – Where saved the test xml report.junit_filter (
NoneTypeorlist) – Customized command line arguments for filtering testcases.
Also inherits all
ProcessRunnerTestoptions.- CONFIG
alias of
JUnitConfig
- list_command_filter(testsuite_pattern, testcase_pattern)[source]
Return the base list command with additional filtering to list a specific set of testcases.
- class testplan.testing.junit.JUnitConfig(**options)[source]
Bases:
ProcessRunnerTestConfigConfiguration object for :py:class`~testplan.testing.junit.JUnit` test runner.