[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Little help with autotest required please

user@domain.invalid

9/30/2008 9:15:00 AM

Hello, I've pulled my hairs hours long but I had no success with
Autotest hooks...

The test file is in
test/scraping/something_test.rb
The library file is in
lib/scaping/something.rb

1) Created a .autotest file in my project root
2) Added the simplest hook I could to narrow down the problem

Autotest.add_hook :initialize do |at|
at.add_mapping(/lib\/scraping\/something.rb/) do |f, _|
at.files_matching /something_test.rb/
end
end


Still seeing dunno!

What's wrong ?