Using Excel sheets to drive Minutest tests for a s...
# minutest
n
Using Excel sheets to drive Minutest tests for a spec by example process:
Copy code
pricingSpecFiles().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. ­čśä