mn8 Language Reference | Index    

TestRunner

SUMMARY: NO ATTRIBUTES  NO ELEMENTS  NO CONSTRUCTORS  NO OPERATORS  METHODS SUMMARYDETAIL: NO ATTRIBUTES  NO ELEMENTS  NO CONSTRUCTORS  NO OPERATORS  METHOD DETAILS

Description

It runs each test from each suite.

Usage

Into the TestCase, first create a suite and:

Into the command line:

Version: 0.1
Authors:Antal Attila
Inherits: Concept, TestListener

Method List

TestResultdoRun (Test $suite)
listResults (TestREsult $result)
static main (Series $args)
static run (Test $suite)
TestResultstart (Series $args)
top
Methods inherited from: Concept
cloneConcept, extendsConcept, fromXML, getAllInheritedConcepts, getConceptAttribute, getConceptAttributeField, getConceptAttributeFields, getConceptAttributes, getConceptConstructors, getConceptElement, getConceptElementField, getConceptElementFields, getConceptElements, getConceptLabel, getConceptMethod, getConceptMethods, getConceptOperators, getConceptType, getConceptsAtPath, getErrorHandler, getInheritedConcepts, hasConceptAttribute, hasConceptElement, hasConceptMethod, hasPath, isHidden, loadContent, setConceptLabel, setErrorHandler, setHidden, setShowEmpty, showEmpty, toTXT, toXML
Methods inherited from: TestListener
addError, addFailure, endTest, startTest

Detailed Method Info

doRun (Test $suite)
Parameters:
$suite :Test concept
Returns: TestResult

A not static method to run a Test

top
listResults (TestREsult $result)
Parameters:
$result :

Lists the collected results from the TestResults

top
static main (Series $args)
Parameters:
$args :parameters

Main method to run an external Test from a passed argument

top
static run (Test $suite)
Parameters:
$suite :Test concept

A static method to run a Test

top
start (Series $args)
Parameters:
$args :
Returns: TestResult

Loads tests from the suite and runs them

top