Class SpockScopeExtension

java.lang.Object
io.micronaut.test.extensions.junit5.SpockScopeExtension
All Implemented Interfaces:
org.spockframework.runtime.extension.IGlobalExtension

public class SpockScopeExtension extends Object implements org.spockframework.runtime.extension.IGlobalExtension
A Spock extension which handles fields annotated with the shared annotation.
  • Constructor Details

    • SpockScopeExtension

      public SpockScopeExtension()
  • Method Details

    • visitSpec

      public void visitSpec(org.spockframework.runtime.model.SpecInfo spec)
      Specified by:
      visitSpec in interface org.spockframework.runtime.extension.IGlobalExtension