natpryce
03/19/2019, 7:08 AMpricingSpecFiles().forEach { file ->
context(file.nameWithoutExtension) {
val examples = ExcelPricingExamples.load(file)
examples.forEach { example ->
test(example.name) {
example.test()
}
}
afterAll(examples::close)
}
}
So concise compared to a JUnit test runner. 😄