sporkrb / spork-testunit

Test::Unit support for Spork
67 stars 27 forks source link

testdrb -Itest test/**/*_test.rb not working #21

Closed Dagnan closed 13 years ago

Dagnan commented 13 years ago

Hi.

When I try testdrb -Itest test/*_/__test.rb, only files in test/unit are launched ("Running tests with args" gives me the list). Files in other test/ subdirectories are missing.

Out of curiosity I also tried testdrb -Itest test///_test.r, which gives me test/functionnal/, test/integration/, test/unit/helpers/ but not test/unit/*.

timcharper commented 13 years ago

Can you try and figure out how to code it up to make it do what you want? I don't use the gem, so difficult for me to do this. so am looking for a maintainer / pull requests.

Dagnan commented 13 years ago

Actually lib/tasks/spork.rake already contains this line

run "testdrb -Itest test/unit/* test/functional/**/* test/integration/**/*"

that does the job. Altough it mixes up the tests so I prefer to use:

run "testdrb -Itest test/unit/*"
run "testdrb -Itest test/functional/**/*"
run "testdrb -Itest test/integration/**/*"