Skip to content

Infinity Test Naming Conventions

tomas-stefano edited this page Oct 30, 2010 · 1 revision

The Infinity Test support only gems (in the next release I'll support Rails and Sinatra apps)

The Infinity test will looks for Patterns.

Test::Unit Patterns

Pattern => "test/*/*_test.rb"

Then if you have a gem with some.rb when you change the file, the Infinity Test will look for some_test.rb in the test folder.

Rspec Patterns

Pattern => "spec/*/*_spec.rb"

Then if you have a gem with some.rb when you change the file, the Infinity Test will look for some_spec.rb in the spec folder.