Skip to content

davidjrice/test_unit_to_rspec_converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Test::Unit To RSpec convertor 
A Rails Plugin by David Rice
with some patches contributed by Michael Grosser

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

## 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

About

A little plugin to help converting Rails Test::Unit to Rspec

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages