tendril.testing.testbase module

This file is part of tendril See the COPYING, README, and INSTALL files for more information

class tendril.testing.testbase.TestLine

Bases: tuple

Create new instance of TestLine(desc, expected, measured)

_asdict()

Return a new OrderedDict which maps field names to their values

_fields = ('desc', 'expected', 'measured')
classmethod _make(iterable, new=<built-in method __new__ of type object at 0x906d60>, len=<built-in function len>)

Make a new TestLine object from a sequence or iterable

_replace(_self, **kwds)

Return a new TestLine object replacing specified fields with new values

desc

Alias for field number 0

expected

Alias for field number 1

measured

Alias for field number 2

class tendril.testing.testbase.TestPrepBase[source]

Bases: object

Object representing a preparatory step for a Test

parent
run_prep()[source]
class tendril.testing.testbase.TestPrepUser(string)[source]

Bases: tendril.testing.testbase.TestPrepBase

run_prep()[source]
class tendril.testing.testbase.RunnableTest[source]

Bases: object

parent
dummy
serialno
run_test()[source]
passed
render()[source]
finish()[source]
destroy()[source]
desc
title
ts
class tendril.testing.testbase.TestBase(offline=False)[source]

Bases: tendril.testing.testbase.RunnableTest

Object representing a full runnable Test of the same Measurement type

offline
add_measurement(measurement)[source]
run_test()[source]
_load_variable(name, typeclass, default=None)[source]
configure(**kwargs)[source]
use_bom(bomobj)[source]
add_prep(prep)[source]
passed
render
render_dox()[source]
passfailonly
lines
graphs
histograms
static get_new_graph_path()[source]
static _make_graph(*args, **kwargs)[source]
static _make_histogram(*args, **kwargs)[source]
_get_graphs_data()[source]
_get_histograms_data()[source]
graphs_data
histograms_data
_make_graphs()[source]
_make_histograms()[source]
static _pr_repr(string)[source]
load_result_from_obj(result_db_obj)[source]
finish()[source]
destroy()[source]
class tendril.testing.testbase.TestSuiteBase[source]

Bases: tendril.testing.testbase.RunnableTest

Object representing a full runnable Test Suite on a single entity

add_prep(prep)[source]
add_test(test)[source]
run_test()[source]
passed
render()[source]
render_dox()[source]
finish()[source]
destroy()[source]
tests
test_descs
get_test_by_desc(desc)[source]