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: 5,969 | Comments: 44,492

filter by tags archive

No testing, no software


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

No future posts left, oh my!

RECENT SERIES

  1. Production postmortem (5):
    29 Jul 2015 - The evil licensing code
  2. Career planning (6):
    24 Jul 2015 - The immortal choices aren't
  3. API Design (7):
    20 Jul 2015 - We’ll let the users sort it out
  4. What is new in RavenDB 3.5 (3):
    15 Jul 2015 - Exploring data in the dark
  5. The RavenDB Comic Strip (3):
    28 May 2015 - Part III – High availability & sleeping soundly
View all series

RECENT COMMENTS

Syndication

Main feed Feed Stats
Comments feed   Comments Feed Stats