All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.goldin.spock.extensions.time.TimeFeatureInterceptor.groovy Maven / Gradle / Ivy

The newest version!
package com.github.goldin.spock.extensions.time

import groovy.transform.InheritConstructors
import org.spockframework.runtime.extension.IMethodInvocation


/**
 * {@link Time} extension interceptor for feature (test method).
 */
@InheritConstructors
class TimeFeatureInterceptor extends TimeBaseInterceptor
{
    @Override
    void interceptFeatureExecution ( IMethodInvocation invocation )
    {
        intercept( invocation, "Feature [${ invocation.feature.name }]" )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy