Mock Me Tender

It must be NDC that inspires test-driven songs. Last year it was We Can Mock It Out, this time it’s Mock Me Tender. Here we go…

Mock me tender,
Mock me sweet.
Time is to confess:
You have made my code complete –
Let us gently test.

Mock me tender,
Mock me true,
Make asserts fulfill.
For, my darling, I mock you,
And I always will.

Mock exceptions,
Mock success.
Mock me whole, my dear.
Don’t be shy, you’re always blessed –
You can TDD.

Mock me tender,
Mock me true,
Make my tests all pass.
For, my darling, I mock you,
And our mocks will last.

Habits can be
Hard to change,
And please don’t feel hurt:
You should always first arrange,
Act and then assert.

Mock me tender,
Mock me true,
Make asserts fulfill.
For, my darling, I mock you,
And I always will.

Of course the whole genre is inspired by Roy Osherove.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s