Video: Lazy Asserts
You know that feeling when you’re writing a test, and you start of all fresh and energetic, and write the Arrange, the setup part?
And that takes much of you, but you keep on going, you get to Act part, that actually executes the code. That’s draining, man.
So, in your last ounces of strength, you claw forward, limping, ready for the final hurrah, the Assert.
And you don’t have anything left.
That’s where lazy asserts come from. Watch this.
And if you want some testing energy in some way, contact me!