Tools to improve testing


#1

Hi all,

An easy one: what tools do you use to improve testing? I’ve read some
about ZenTest and looks very nice. But I’d like to hear more about
tools (or frameworks) to make Ruby programmers happy even when writing
tests (I love to have tests, but I hate write them :wink: ).

Any recommendation?

Thank in advance.


#2

autotest and unit diff (both in ZenTest) are awesome.

The big thing is just procedural – getting used to it. I’ve been
writing some code with Sean C., and writing it in a Ping
Pong style has been great. Sean will write a test, check it
in, and let me know. Then I need to get his test to pass, write
a new test, check it in and let him know.

Writing code this way has been a blast (it’s more like playing a
game than working on a project). I’m convinced it would be
even more fun if Sean and I were pairing in person instead of
by email. The comments I’ve heard from others would seem
to bear this out.

Good luck, and have fun with testing.


#3

On 3/29/06, chiaro scuro removed_email_address@domain.invalid wrote:

I have done PingPong programming in the past using the collaborative
editor moonedit. it’s really cool, even if it limits you to a single
text file. gobby is another promising one.

Sean and I have not tried a multi-user editor yet, though we’ve kicked
the idea around. So far, we’ve coordinated by by svn.

Does the collaborative editor allow you to communicate well enough,
or do you supplement with IM/irc/something?

A good challenge would be to make FreeRIDE multiuser…

hmm, if that happens I might have to look at using FreeRIDE.


#4

I have done PingPong programming in the past using the collaborative
editor moonedit. it’s really cool, even if it limits you to a single
text file. gobby is another promising one.

A good challenge would be to make FreeRIDE multiuser…

On 3/29/06, pat eyler removed_email_address@domain.invalid wrote:

Writing code this way has been a blast (it’s more like playing a
game than working on a project). I’m convinced it would be
even more fun if Sean and I were pairing in person instead of
by email. The comments I’ve heard from others would seem
to bear this out.

Good luck, and have fun with testing.

Chiaroscuro

Liquid Development: http://liquiddevelopment.blogspot.com/


#5

On 3/29/06, pat eyler removed_email_address@domain.invalid wrote:

Sean and I have not tried a multi-user editor yet, though we’ve kicked
the idea around. So far, we’ve coordinated by by svn.

We communicated by code :slight_smile: Strange enough it seemed to work very
well… if
the Intent of my tests waasn’t clear, I could see my partner esitate
with
his code… and I started making the tests more expressive. It’s
difficult
to explain it. It must be tried :slight_smile:

Moonedit, although it looks oldish, is very effective and it also has a
very
cool history replay feature that allows you to playback the whole
session.
If you download moonedit I can send you some example session.

A good challenge would be to make FreeRIDE multiuser…

hmm, if that happens I might have to look at using FreeRIDE.

If you could make it multiuser it would be fantastic :slight_smile:
The code of FreeRIDE is very clean and based on a plugin architecture.