Skip to content

Instantly share code, notes, and snippets.

@danhyun
danhyun / embedded_spock_tests.groovy
Created April 12, 2016 21:07 — forked from mostlylikeable/embedded_spock_tests.groovy
Programmatically run spock tests
package foo
@Grab('org.spockframework:spock-core:1.0-groovy-2.3')
import org.junit.runner.*
import spock.lang.Specification
import spock.util.EmbeddedSpecRunner
/*