miniunit needs a new name

| | Comments (2)

I've restructured and added to miniunit:

lib/mini/test.rb
lib/mini/spec.rb
lib/mini/mock.rb

All this fun in less than a thousand lines, tests included!

So obviously it needs a new name. I was thinking of calling it "Mini de Sade" for fun, but it really doesn't convey what it does (other than hurt other code--tee hee!). I also searched through the dictionary looking for other possibilities:

% egrep -i "m.*(t.*s|s.*t)|t.*(m.*s|s.*m)|s.*(m.*t|t.*m)" /usr/share/dict/words | ruby -e 'p STDIN.read.split(/\n/).sort_by { |s| s.length }.first(11)'
["must", "mist", "mast", "stem", "smit", "stum", "smut", "most", "myst", "stim", "stam"]

And I gotta say, I kinda like MuST. I used that as inspiration already. I've also decided that "should" is too wishy-washy and switched to "must" in mini/spec.rb. (Don't worry, I made it easy to add your shoulds if you so desire).

(ooh. smut == specs, mocks, and unit tests)

Any naming suggestions?

2 Comments

how about ispec? As in:

"Why do you see the speck that is in your brother’s eye, but do not notice the log that is in your own eye?" - Matthew 7:3

That's what specs remind me of... silly, yes?

But where for art thou, lib/mini/log.rb?

Leave a comment

About this Entry

This page contains a single entry by zenspider published on April 24, 2008 6:38 AM.

Speaking at GoRuCo was the previous entry in this blog.

deny, refute, debunk is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.32-en