christophsturm
11/06/2018, 1:27 PMexpect {
Deployment.values().forEach {
that(TestUtils.loadConfiguration(it).httpConfig).describedAs("config for deployment $it")
.isEqualTo(Configuration.HttpConfig(8081, 8090))
}
}
when the loadConfiguration method throws an exception i just get a stack trace, and i have no idea what deployment type the error was for. so there could be a that method that takes a block, and uses the result of the block to assert on, but also catches exceptions and treats them as failed assertions