Roughly: ``` class HttpEndpointIT(val server: Dock...
# spek
c
Roughly:
Copy code
class HttpEndpointIT(val server: DockerServer) {
    @Test
    fun test() { }
    
    @AfterMethod
    fun after() = DockerUtils.stop(server)
}

class TestFactory {
    @Factory
    fun create() = (1..10).map { HttpEndpointIT(DockerServer(it)).toArray()
}