Coding Blocks cover image

Designing Data-Intensive Applications – Maintainability

Coding Blocks

00:00

Is There a Way to Assert Two Things?

In unit, for example, you can have multiple asserts. You could do assert dot multiple and then pass in a delegate function to where you can haveMultiple assert statements. And what it'll do is it'll execute all of them and verify that they're working. So if the first assault fails, then the execution would automatically stop there.

Play episode from 01:54:46
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app