Test::Unit

Hello,

Would anybody please mention some link to start play with Test::Unit
There isn't anybook on Unit Testing with Ruby so far, right?

thanks,

Chapter 12 of Programming Ruby, Version 2 is about unit testing.

There is an interesting test-first challenge at:
http://groups.google.com/group/Ruby-Test-First-Challenge?lnk=li

though they are still working out proper style

There is also the API documentation for Test::Unit
http://www.ruby-doc.org/stdlib/libdoc/test/unit/rdoc/classes/Test/Unit.html

The best bet is to read the tests in some of the well known ruby
appications though. You should be able to learn a lot that way.

Look up ZenTest if you want to automate test generation.

Finally, I'm doing a talk on unit testing tomorrow night for my local
Ruby users group.
I will be posting the slides online and will let the board know when
they are available.

HTH

-Greg

···

On 11/8/05, Mohammad Khan <beeplove@gmail.com> wrote:

Would anybody please mention some link to start play with Test::Unit
There isn't anybook on Unit Testing with Ruby so far, right?

http://rubycentral.org/2001/talks/testinginreverse/

···

On 08/11/05, Mohammad Khan <beeplove@gmail.com> wrote:

Hello,

Would anybody please mention some link to start play with Test::Unit
There isn't anybook on Unit Testing with Ruby so far, right?

thanks,

--
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/

> Would anybody please mention some link to start play with Test::Unit
> There isn't anybook on Unit Testing with Ruby so far, right?

[good suggestions elided]

Look up ZenTest if you want to automate test generation.

two articles you might like:

http://www.linuxjournal.com/article/7776

http://www-128.ibm.com/developerworks/edu/os-dw-os-ruby1-i.html

Finally, I'm doing a talk on unit testing tomorrow night for my local
Ruby users group.

That's great! Which Ruby Brigade do you belong to?

I will be posting the slides online and will let the board know when
they are available.

That's even better.

···

On 11/8/05, Gregory Brown <gregory.t.brown@gmail.com> wrote:

On 11/8/05, Mohammad Khan <beeplove@gmail.com> wrote:

HTH

-Greg

--
thanks,
-pate
-------------------------

new_haven.rb

(http://wiki.newhavenrubyists.org)

···

On 11/8/05, pat eyler <pat.eyler@gmail.com> wrote:

> Finally, I'm doing a talk on unit testing tomorrow night for my local
> Ruby users group.

That's great! Which Ruby Brigade do you belong to?

Gregory Brown wrote:

···

On 11/8/05, pat eyler <pat.eyler@gmail.com> wrote:

Finally, I'm doing a talk on unit testing tomorrow night for my local
Ruby users group.

That's great! Which Ruby Brigade do you belong to?

new_haven.rb

(http://wiki.newhavenrubyists.org)

at least your RUG runs on ruby. Get this, our RUG in MI runs on...
wait for it... PHP!

   http://www.rubymi.org/index.php?title=Southeast_Michigan_Ruby_Users_Group

I swear I am not making this up and this is not a joke. Er, it wasn't supposed to
be a joke, but you can laugh if you want. I know I am.
We do things a little differently here in Michigan.

Lou Vanek wrote:

at least your RUG runs on ruby. Get this, our RUG in MI runs on...
wait for it... PHP!

  http://www.rubymi.org/index.php?title=Southeast_Michigan_Ruby_Users_Group

I swear I am not making this up and this is not a joke. Er, it wasn't supposed to
be a joke, but you can laugh if you want. I know I am.
We do things a little differently here in Michigan.

Well, try not to feel to bad. There are a few well-known Ruby sites that are using PHP under the hood.

There is a lot to be said for eating your own dog food, but sometimes it just isn't practical.

James

···

--

http://www.ruby-doc.org - Ruby Help & Documentation
Ruby Code & Style - Ruby Code & Style: Writers wanted
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
http://www.30secondrule.com - Building Better Tools

Before we opened it up to the whole community, the University of New
Haven Ruby Brigade was running PHPBB2

We initially were setting up Joomla! (other PHP beast) for new_haven.rb
but found instiki much easier to deal with :slight_smile:

···

On 11/8/05, James Britt <james_b@neurogami.com> wrote:

Lou Vanek wrote:
>
> at least your RUG runs on ruby. Get this, our RUG in MI runs on...
> wait for it... PHP!

I'm still trying to get better Ruby support from
1and1.com<http://1and1.com>... they're very "static" in their
thinking.
"sorry, we don't provide it ... rent a server and set it up yourself"...
j.

···

On 11/8/05, Gregory Brown <gregory.t.brown@gmail.com> wrote:

On 11/8/05, James Britt <james_b@neurogami.com> wrote:
> Lou Vanek wrote:
> >
> > at least your RUG runs on ruby. Get this, our RUG in MI runs on...
> > wait for it... PHP!

Before we opened it up to the whole community, the University of New
Haven Ruby Brigade was running PHPBB2

We initially were setting up Joomla! (other PHP beast) for new_haven.rb
but found instiki much easier to deal with :slight_smile:

--
"http://ruby-lang.org -- do you ruby?"

Jeff Wood

> > at least your RUG runs on ruby. Get this, our RUG in MI runs on...
> > wait for it... PHP!

Before we opened it up to the whole community, the University of New
Haven Ruby Brigade was running PHPBB2

That's OK, the Sydney RUG[1] runs on beer :wink:

Cheers,
Assaph

[1] http://rubygarden.org/ruby?SydneyGroup

Jeff Wood wrote:

I'm still trying to get better Ruby support from
1and1.com<http://1and1.com>... they're very "static" in their
thinking.

Dreamhost works great for me. Though TextDrive seems to be the ruby
host of choice.

Anybody else have any feedback on good ruby hosts?

j.

···

On 11/8/05, Gregory Brown <gregory.t.brown@gmail.com> wrote:

Jeff Wood wrote:
> I'm still trying to get better Ruby support from
> 1and1.com <http://1and1.com><http://1and1.com>... they're very "static"
in their
> thinking.

Dreamhost works great for me. Though TextDrive seems to be the ruby
host of choice.

--
"http://ruby-lang.org -- do you ruby?"

Jeff Wood