Software Development
Pages
Home
About
Contact
Wednesday, May 09, 2012
Creating a Ruby gem with RSpec as the test framework
1. bundle gem 'your-gem-name'
2. Run : rspec --init from your gem directory to generate the spec/spec_helper.rb and .rspec files.
.rspec has the configuration such as color and format of the output when specs are run.
Newer Post
Older Post
Home