Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
YUITest
TestRunner
Interface TestRunner
Hierarchy
EventTarget
TestRunner
Index
Properties
BEGIN_EVENT
COMPLETE_EVENT
ERROR_EVENT
TEST_CASE_BEGIN_EVENT
TEST_CASE_COMPLETE_EVENT
TEST_FAIL_EVENT
TEST_IGNORE_EVENT
TEST_PASS_EVENT
TEST_SUITE_BEGIN_EVENT
TEST_SUITE_COMPLETE_EVENT
Methods
add
attach
callback
clear
detach
fire
getCoverage
getName
getResults
isRunning
isWaiting
resume
run
setName
subscribe
unsubscribe
Properties
public
BEGIN_EVENT
:
string
public
COMPLETE_EVENT
:
string
public
ERROR_EVENT
:
string
public
TEST_CASE_BEGIN_EVENT
:
string
public
TEST_CASE_COMPLETE_EVENT
:
string
public
TEST_FAIL_EVENT
:
string
public
TEST_IGNORE_EVENT
:
string
public
TEST_PASS_EVENT
:
string
public
TEST_SUITE_BEGIN_EVENT
:
string
public
TEST_SUITE_COMPLETE_EVENT
:
string
Methods
public
add
(
testObject
:
TestSuite
)
Parameters
testObject:
TestSuite
public
add
(
testObject
:
TestCase
)
Parameters
testObject:
TestCase
public
attach
(
type
:
string
, listener
:
Function
)
Parameters
type:
string
listener:
Function
public
callback
(
args
?:
Array<any>
)
:
Function
Parameters
args?:
Array<any>
optional
Returns
Function
public
clear
(
)
public
detach
(
type
:
string
, listener
:
Function
)
Parameters
type:
string
listener:
Function
public
fire
(
event
:
Object
)
Parameters
event:
Object
public
fire
(
event
:
string
)
Parameters
event:
string
public
getCoverage
(
format
?:
Function
)
:
any
Parameters
format?:
Function
optional
Returns
any
public
getName
(
)
:
string
Returns
string
public
getResults
(
format
?:
Function
)
:
any
Parameters
format?:
Function
optional
Returns
any
public
isRunning
(
)
:
boolean
Returns
boolean
public
isWaiting
(
)
:
boolean
Returns
boolean
public
resume
(
segment
?:
Function
)
Parameters
segment?:
Function
optional
public
run
(
options
?:
Object
)
Parameters
options?:
Object
optional
public
run
(
options
?:
boolean
)
Parameters
options?:
boolean
optional
public
setName
(
name
:
string
)
Parameters
name:
string
public
subscribe
(
type
:
string
, listener
:
Function
)
Parameters
type:
string
listener:
Function
public
unsubscribe
(
type
:
string
, listener
:
Function
)
Parameters
type:
string
listener:
Function
Globals
YUITest
EventTarget
IAssert
TestCase
TestRunner
BEGIN_EVENT
COMPLETE_EVENT
ERROR_EVENT
TEST_CASE_BEGIN_EVENT
TEST_CASE_COMPLETE_EVENT
TEST_FAIL_EVENT
TEST_IGNORE_EVENT
TEST_PASS_EVENT
TEST_SUITE_BEGIN_EVENT
TEST_SUITE_COMPLETE_EVENT
add
attach
callback
clear
detach
fire
getCoverage
getName
getResults
isRunning
isWaiting
resume
run
setName
subscribe
unsubscribe
TestSuite
YUITestStatic