Groovy Documentation

org.codehaus.groovy.grails.test.spock.listener
[Groovy] Class PerSpecRunListener

java.lang.Object
  org.codehaus.groovy.grails.test.spock.listener.PerSpecRunListener

@groovy.transform.CompileStatic
class PerSpecRunListener
extends java.lang.Object

Authors:
Luke Daley
Graeme Rocher


Property Summary
java.lang.String name

 
Constructor Summary
PerSpecRunListener(java.lang.String name, GrailsTestEventPublisher eventPublisher, JUnitReports reports, SystemOutAndErrSwapper outAndErrSwapper, GrailsSpecTestTypeResult result, GrailsTestRunNotifier grailsNotifier)

 
Method Summary
void finish()

void start()

void testFailure(org.junit.runner.notification.Failure failure)

void testFinished(org.junit.runner.Description description)

void testStarted(org.junit.runner.Description description)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

name

final java.lang.String name


 
Constructor Detail

PerSpecRunListener

PerSpecRunListener(java.lang.String name, GrailsTestEventPublisher eventPublisher, JUnitReports reports, SystemOutAndErrSwapper outAndErrSwapper, GrailsSpecTestTypeResult result, GrailsTestRunNotifier grailsNotifier)


 
Method Detail

finish

void finish()


start

void start()


testFailure

void testFailure(org.junit.runner.notification.Failure failure)


testFinished

void testFinished(org.junit.runner.Description description)


testStarted

void testStarted(org.junit.runner.Description description)


 

Groovy Documentation