Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run selected unit/test by test_name - issue #9 #32

Closed
wants to merge 3 commits into from

Conversation

sacre
Copy link

@sacre sacre commented Jan 22, 2012

for example:

spin push test/unit/account_test.rb:test_sometest

will set -n in ARGV with value regexp '/test_sometest/' before requiring given test files.

also works for many files but not exactly correct:

spin push test/unit/account_test.rb:name1 test/unit/shop_test.rb:name2

is ok, but:

spin push test/unit/account_test.rb:name1 test/unit/shop_test.rb

just run only one test from account_test.rb named "name1"

@jstorimer
Copy link
Owner

I'm not a fan of the syntax for this because it's so far from what test/unit uses. I'd prefer to go with an approach like #34.

Thanks!

@jstorimer jstorimer closed this Feb 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants