Little help with autotest required please

Z

Zouplaz

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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,201
Messages
2,571,048
Members
47,647
Latest member
NelleMacy9

Latest Threads

Top