Ayende @ Rahien

Hi!
My name is Oren Eini
Founder of Hibernating Rhinos LTD and RavenDB.
You can reach me by phone or email:

ayende@ayende.com

+972 52-548-6969

, @ Q c

Posts: 6,128 | Comments: 45,549

filter by tags archive

No testing, no software

time to read 1 min | 141 words

I just tried to spike something, and as usual, I created a console app and started hacking.

It is a non trivial spike, so I started refactoring it to allow proper separation and actually let me handle the complexity that I am trying to contain.

I couldn't continue the spike. Literally. I had no idea how to go about it.

I am currently in the process of moving the spike code into a proper environment, one that has tests, so I can actually work in small increment, and not try to implement the whole thing in a single go.

About an hour later, I have this mostly complete and working, and I can see how the tests helped me get into a situation where I can actually make a small set of changes are get things working.


Comments

Markus Zywitza

I didn't used console projects for a long time. Since I started using UnitTests regularly, I create a testproject (dll) instead, writing the subject under test directly into the test project.

So, instead of testing with F5, I rather use TDD.Net (CTRL-R, CTRL-T and CTRL-R, CTRL-D for debugging).

When I finished exploring, I start over in new projects and leave the exploration project as a reference in the solution.

Jeremy Gray

As I become more and more TDD/BDD-infected I too am finding that all but my tiniest little spike efforts almost always go *-driven rather than me just hacking around. I just get this strange, creepy feeling in my stomach when I start coding without at least some test/spec code already written. :)

Comment preview

Comments have been closed on this topic.

FUTURE POSTS

  1. The worker pattern - 2 days from now

There are posts all the way to May 30, 2016

RECENT SERIES

  1. The design of RavenDB 4.0 (14):
    26 May 2016 - The client side
  2. RavenDB 3.5 whirl wind tour (14):
    25 May 2016 - Got anything to declare, ya smuggler?
  3. Tasks for the new comer (2):
    15 Apr 2016 - Quartz.NET with RavenDB
  4. Code through the looking glass (5):
    18 Mar 2016 - And a linear search to rule them
  5. Find the bug (8):
    29 Feb 2016 - When you can't rely on your own identity
View all series

Syndication

Main feed Feed Stats
Comments feed   Comments Feed Stats