Browse the Ruby on Rails Community.

You are here: Browse Railsplugins Test Unit To Rspec Converter

Test Unit To Rspec Converter

  1. Test::Unit To RSpec convertor A Rails Plugin by David Rice

This plugin is an attempt at easing the conversion processes between the Test::Unit and RSpec frameworks for Rails testing. It’s not in anyway guaranteed to get your test cases passing with RSpec without a bit of love and attention. It adds the following rake task;

rake convert_to_rspec
  1. Quick Notes
  • Make sure you backup first before running
  • Note: No changes are actually made to the test/ directory files
  • Unit, Functional and Helper (if in their default locations will be found and converted)
  • Spec files will all be generated in the spec/ directory
  • If it doesn’t work entirely for you why not think about adding to it, there’s tests!

http://rspec.rubyforge.org/ http://www.davidjrice.co.uk

NOTE: This description has been extracted from the Plugin README and so the formatting may need updating to make browser friendly

Users


See all details


Membership

+ Join this railsplugin

Record Maintainer

'None'