thumblemonks / riot

Riot is a fast, expressive, and contextual ruby unit testing framework
http://thumblemonks.github.com/riot/
MIT License
314 stars 26 forks source link

Add a section on porting tests from shoulda and from rspec to the glamour doc site #23

Open gus opened 13 years ago

gus commented 13 years ago

Good idea

charlietanksley commented 13 years ago

I'm not quite sure I understand what this means, but if I did, I'd take a crack at it. Do you just mean show an example test (w/setup, etc.) in Rspec and Shoulda and what it would look like in Riot, or does 'porting' mean something more. (Also, is the glamour doc site the github pages site?)

gus commented 13 years ago

Howdy,

What we wanted was a page/section on the glamour doc site (yep, the gh-pages stuff) that shows porting an average test file from RSpec to Riot. So, it's a little more than just one test, but nothing insane. It may also need to include commentary on how things would work differently in Riot.

Does that help?

charlietanksley commented 13 years ago

Yes, that helps a lot. That's what I thought you meant, but I wanted to make sure. I'll work up a first pass at this in the next week or so and run it by you.