Tags » TDD

Let's polish tests until they shine - part 1

If you are doing Test Driven Development, your tests will be your requirement specification. So your test should be readable. We need to maintain the quality of the tests as same as the quality of the business logic. 876 more words

Code Quality

The RGR Prayer

I recently watched an agile training video in which the sage on the stage made the audience repeat after him three times, the RGR prayer: “ 323 more words


RSpec : Shoulda Matcher : for Beginners

If you are new to TDD then installing and configuring for TDD is not what I will be talking about. Today, in this post I will talk about how every spec/example is evaluated by RSpec. 96 more words

Ruby On Rails

Connascence of Value: a different approach

Recently I wrote a series of posts in which I attempted to drive a TDD episode purely from the point of view of connascence. But as I now read over the articles again, it strikes me that I made some automatic choices. 684 more words

Software Development

Bad Habits: How to Quit Cowboy Coding using Pre-commitment

One of the core principles of habit modification is pre-commitment: Success is more likely if you plan for it.

Remember elementary school? My mother would pack my bag the night before school, when there was no hurry. 436 more words