Body of the test to be implemented by child classes. This code is run during test.
Return false if the test should be skipped.
By default it check the test name and fullname against comma-separated blacklist in EXCLUDE_MODULES variable and returns false if it is found there.
Can eg. check vars{BIGTEST}, vars{LIVETEST}
Return a hash of flags that are either there or not
without anything - rollback to 'lastgood' snapshot if failed
'fatal' - abort whole test suite if this fails (and set overall state 'failed')
'ignore_failure' - if this module fails, it will not affect the overall result at all
'milestone' - after this test succeeds, update 'lastgood'
Function is run after test has failed to e.g. recover log files
serialize a match result from needle::search
$self->record_resultfile($title, $output [, result => $result] [, resultname => $name]);
Record result file to be parsed when evaluating test results, for example within the openQA web interface.
generic function that adds a test result to results and re-computes overall state
internal function to add a screenshot to an existing result structure
add screenshot with 'unk' result
Optical Character Recognition matching.
Return a listref containing hashrefs like this:
{
screenshot=>2, # nr of screenshot for the test to OCR
x=>104, y=>201, # position
xs=>380, ys=>150, # size
pattern=>"H ?ello", # regex to match the OCR result
result=>"OK" # or "fail"
}