it would be nice to have an expect that catches ex...
# strikt
c
it would be nice to have an expect that catches exceptions and logs them as failures, especially with soft assertions. for example in this code:
Copy code
expect {
            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