Creating heuristics (Add your own mappings) #10

Closed
tomas-stefano opened this Issue Oct 22, 2010 · 1 comment

Comments

Projects
None yet
1 participant
@tomas-stefano
Owner

tomas-stefano commented Oct 22, 2010

This feature is very useful to add flexibility to users that want write your own mappings and behaviours.
Something like that:

heuristics do
 watch(%r%^(test|spec)/fixtures/(.*).yml$%) do |changed_file|
   run_test changed_file
 end
 .... # more watch() methods
end

The #heuristics method exists because is more easier to evaluate in the context of Heuristics of the Application object.
The #watch methods is the method of the Awesome Watchr gem (For more information see here http://github.com/mynyml/watchr )

Suggestions?

@tomas-stefano

This comment has been minimized.

Show comment Hide comment
@tomas-stefano

tomas-stefano Nov 10, 2010

Owner

This feature is done and the explanation is in the History.markdown file:

https://github.com/tomas-stefano/infinity_test/blob/master/History.markdown

I will create the wiki page and add in the Readme for users that want add your own mappings/heuristics to their applications.

Thanks

Owner

tomas-stefano commented Nov 10, 2010

This feature is done and the explanation is in the History.markdown file:

https://github.com/tomas-stefano/infinity_test/blob/master/History.markdown

I will create the wiki page and add in the Readme for users that want add your own mappings/heuristics to their applications.

Thanks

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment