This represents the available reporter callback for an object passed to Env#addReporter
.
Methods
jasmineDone(suiteInfo)
When the entire suite has finished execution jasmineDone
is called
Parameters:
Name | Type | Description |
---|---|---|
suiteInfo |
JasmineDoneInfo | Information about the full Jasmine suite that just finished running. |
jasmineStarted(suiteInfo)
jasmineStarted
is called after all of the specs have been loaded, but just before execution starts.
Parameters:
Name | Type | Description |
---|---|---|
suiteInfo |
JasmineStartedInfo | Information about the full Jasmine suite that is being run |
specDone(result)
specDone
is invoked when an it
and its associated beforeEach
and afterEach
functions have been run.
While jasmine doesn't require any specific functions, not defining a specDone
will make it impossible for a reporter to know when a spec has failed.
Parameters:
Name | Type | Description |
---|---|---|
result |
SpecResult |
specStarted(result)
specStarted
is invoked when an it
starts to run (including associated beforeEach
functions)
Parameters:
Name | Type | Description |
---|---|---|
result |
SpecResult | Information about the individual |
suiteDone(result)
suiteDone
is invoked when all of the child specs and suites for a given suite have been run
While jasmine doesn't require any specific functions, not defining a suiteDone
will make it impossible for a reporter to know when a suite has failures in an afterAll
.
Parameters:
Name | Type | Description |
---|---|---|
result |
SuiteResult |
suiteStarted(result)
suiteStarted
is invoked when a describe
starts to run
Parameters:
Name | Type | Description |
---|---|---|
result |
SuiteResult | Information about the individual |