Comments and Feedback on Getting started with Autotest - Continuous Testing

(13 comments)

carl from www.black-glass.com said...

So this was HELPFUL

however if you could present the websites as simply directions for

MAC OSX and then UBUNTU thatd be TONS simpler :D

theres a good bit of info and i think it would be much clearer if these were broken into 2 separate pages

not to mention this tutorial ACTUALLY works and the guy publishing his book on www.railstutorial.org could use a working one

i say chop it in two and give him a message ... bc his current one @ this website called "automate everything" just doesnt work.

-toodles!

Jean-Michel Garnier from http://www.21croissants.com said...

Check out http://groups.diigo.com/groups/rubyonrails

Thomas James from http://test.com said...

It's useful. Thanks! ;-)

Philippe Hanrigou replied...

You are very welcome!

Jean-Michel Garnier from http://www.21croissants.com said...

Merci! Félicitations pour ton blog, le design est super élégant! Il ne te manque qu’une CSS pour le code en Ruby, tu peux t’inspirer de http://blog.wolfman.com/articles/2006/05/26/howto-format-ruby-code-for-blogs

Thanks!

Congratulations for this guide! I have also posted some instructions to install & configure rspec 0.9.0 beta2 + ZenTest 3.5 on my blog

Jean-Michel

Henrik N from http://henrik.nyh.se said...

Great tutorial!

I noticed a typo: “If these conventions are not your cup of tea and you have your owns, the next paragraph explains how to configure Autotest so that it runs the whole test suite each time you save a file.”. Should be “own”.

Also, if one visits /getting_started_with_autotest/ with a trailing slash, then the comment links will point to /getting_started_with_autotest/getting_started_with_autotest/comments which obviously doesn't work.

rebelnz said...

Thanks for the autotest guidance - it was helpful

Philippe Hanrigou replied...

Thanks rebelnz, appreciate it!

Andy Stewart from http://airbladesoftware.com said...

Excellent overview—thanks.

By the way, I find sometimes when I make a mistake Autotest spews a huge stacktrace onto the console. Picking apart the trace to find the error breaks my flow. Happily Autotest is well written and it was easy to solve this problem

Kris from http://interkonect.com said...

When I run autotest it print the letter E to the screen, I’m guessing this means Exception because it I run the full test with Ctrl+C I get an error about Broken Pipe and notify_listen. I see some bug fixes regarding Pipes but I only installed the gem today, so should have the latest version...

Many thanks, K.

Clarkva said...

Favorited this one, dude

grosser from pragmatig.wordpress.com said...

The ubuntu code will not work for rspec tests—> Working version

Andrew from http://andrewonrails.blogspot.com/ said...

For people looking to setup autotest and snarl on windows I have written a simple step by step instructions here

Andy said...

For the ruby stand alone project. The class names need more details.

At the moment your article states " Test class names must start with Test"

Which is true, but you will get this error.

Unable to map class TestThingy to a file.

To avoid this you need

Test class names must be Test{ClassName}"

Philippe Hanrigou replied...

Good point. It is true that the article was a little unclear in this regard, so I have updated the article based on your feedback. There is now a new bullet point:

"The test class name corresponding to a specific implementation class must be named TestImplementationClassName.rb"

Hopefully this should remove any confusion.

Ben Butler-Cole said...

Just for completeness: RSpec and RedGreen don't work together. To get coloured output for RSpec running on its own you can pass a --colour option. But within AutoTest you have to pass it via an options file instead. This (and any other options you need) have to go in spec/spec.opts. This path is hard-coded.

Ben

Post a new comment:

Enter your comment

Preview your comment

This preview box will be updated as you type your comment.

Markdown Syntax Essentials

a sentence
a sentence


_emphasize something_
emphasize something


**emphasize even more**
emphasize even more


`a variable`
a variable


[A link to Google](http://google.com)
A link to Google


    a 4-space-indented code block
    (can span multiple lines)
        a 4 space indented code block
        (can span multiple lines)

* A first item
* A second item
* A third
  • A first item
  • A second item
  • A third

For a complete overview, take a look at Markdown Syntax Documentation.


This work is licensed under a Creative Commons Attribution 2.5 License.

Original web site design by: JFX diz*web.