I’m going to fast-follow my last video ( • Kotlin Power Assert ) on Kotlin Power-Assert (https://kotlinlang.org/docs/power-ass...) with another on the same subject, because I’m excited by the technology, and the author Brian Norman has been very helpful on the Kotlin Slack.
So, without further ado, let’s hack on Power-Assert a bit more.
In this episode
00:02:32 Multi-line values don't lay out well
00:03:48 so let's just use a data class from now on
00:04:56 Can we solve the message indent problem?
00:06:29 Enhancing our soft-assert
00:09:50 Can we show the values of the succeeding asserts?
00:12:16 Making a soft-assert DSL
00:17:03 Add in passed assertions
00:19:10 Looking at flow typing
00:23:30 OnlyInputTypes
00:24:15 Will I be using Power-Assert?
This video is one of lots on testing ( • Testing ) and the code is from my Test Driven Gilded Rose project ( • Test Driven Gilded Rose in Kotlin ) available on GitHub (https://github.com/dmcg/gilded-rose-tdd).
If you like this video, you’ll probably like my book Java to Kotlin, A Refactoring Guidebook (http://java-to-kotlin.dev). It's about far more than just the syntax differences between the languages - it shows how to upgrade your thinking to a more functional style.
Watch video Advanced techniques for Kotlin Power Assert online without registration, duration hours minute second in high quality. This video was added by user Pairing with Duncan 14 June 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 486 once and liked it 23 people.