gem install --test and Rspec

sthompson's Avatar

sthompson

19 Jul, 2010 09:30 PM

When I create a gem, in the gem spec I can provide a list of test files. What unit test framework should those tests be written to?

Is there a way to run rspec tests when a gem is installed (and fail gracefully if rspec is not in the environment into which the gem is being installed).

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

21 Jul, 2016 11:06 AM
08 Jul, 2016 09:18 PM
05 Jul, 2016 10:21 PM
24 Jun, 2016 02:54 AM
16 Jun, 2016 01:10 AM