| CARVIEW |
- Source
- Commits
- Network (5)
- Issues (3)
- Wiki (6)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
Infinity Test
Infinity Test is a continuous testing library and a flexible alternative to Autotest, using Watchr library with Rspec OR Test::Unit with RVM funcionality, giving the possibility to test with all Rubies that you have in your RVM configuration.
To Infinity and Beyond!

Photo taken by this site
Install
gem install infinity_test
Running Tests only in one ruby
With Rspec:
infinity_test --rspec
With Test::Unit:
infinity_test --test-unit
Running Tests with many Rubies
With Rspec:
infinity_test --rspec --rubies=1.8.7,jruby,1.9.2,ree
Or with Test::Unit:
infinity_test --test-unit --rubies=1.8.7,jruby,ree,1.9.2
And you are ready to Test with all ruby versions your Rspec or Test::Unit Suite with Autotest-like Behavior.
Configuration file
Simple Domain Specific Language for Infinity Test file
If you don't set all the time the rubies that you want, test framework that you want, notifications that you want, you can write some code that infinity_test understand.
So create the global file or project file called:
~/.infinity_test or .infinity_test
infinity_test do
notifications :growl do
show_images :mode => :mario_bros
end
use :rubies => %w(1.9.1 jruby 1.9.2 ree), :test_framework => :rspec
before(:each_ruby) do |environment|
# ...
end
after(:each_ruby) do |environment|
# ...
end
before_run do
clear :terminal
end
after_run do
# ...
end
end
Customize the .infinity_test file
If you want to customize and understand the .infinity_test file, Read this Page
You Like it the Idea?
So make a fork and start contributing =].
You have a Feature request or Fix?
Contact me in Github and let's talk! =]
TODO
- Working in focus files and run only the modified file (Strategies for Test::Unit, Rspec and Cucumber)
- Working in support Rails applications (Sinatra/Rack/Padrino too!)
Acknowledgments
- Thanks to Mynyml and Watchr library.
- Thanks to Waynee Seguin and the RVM.
- © 2010 GitHub Inc. All rights reserved.
- Terms of Service
- Privacy
- Security
Keyboard Shortcuts
Site wide shortcuts
- s
- Focus site search
- ?
- Bring up this help dialog
Commit list
- j
- Move selected down
- k
- Move selected up
- t
- Open tree
- p
- Open parent
- c or o or enter
- Open commit
Pull request list
- j
- Move selected down
- k
- Move selected up
- o or enter
- Open issue
Issues
- j
- Move selected down
- k
- Move selected up
- x
- Toggle select target
- o or enter
- Open issue
- I
- Mark selected as read
- U
- Mark selected as unread
- e
- Close selected
- y
- Remove selected from view
- c
- Create issue
- l
- Create label
- i
- Back to inbox
- u
- Back to issues
- /
- Focus issues search
Network Graph
- ← or h
- Scroll left
- → or l
- Scroll right
- ↑ or k
- Scroll up
- ↓ or j
- Scroll down
- t
- Toggle visibility of head labels
- shift ← or shift h
- Scroll all the way left
- shift → or shift l
- Scroll all the way right
- shift ↑ or shift k
- Scroll all the way up
- shift ↓ or shift j
- Scroll all the way down