spec-converter

Description

spec-converter is a simple tool to convert test-unit or dust style tests to test/spec specs. It does not try to do a complete 100% translation, it just does the basic grunt work to make your job easier. For instance, spec-converter will turn this:

class XTest < Test::Unit::TestCase
  def test_should_do_something_cool
    assert_equal 1+1, 2
  end
end

to

describe "X" do
  it "should do something cool" do
    2.should == 1+1
  end
end

Install

sudo gem install spec_converter

Usage

Assuming your project is at /work/project/:

cd /work/project
spec_converter

Bugs/Requests

Please submit your bug reports, patches or feature requests as a ticket under the component "spec_converter". You'll have to create an account (Sorry! Otherwise we'd get way too much spam).