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 ?
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 ?