Gallio handles this case much better so you might try running your tests
with Gallio.Echo instead of the original MbUnit v2 test runner.

Jeff. 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Bil Simser
Sent: Friday, June 27, 2008 8:04 AM
To: MbUnit.User
Subject: MbUnit Author attribute and /filter-author not working


I'm trying to provide my QA guy with a set of tests that he can run
specifically. Rather than trying to invoke the two tests directly (which I
can't seem to do using any code I know of) I thought I would give him the
console runner with a batch file to filter out tests.

The only way I could see was to give him a filter to execute. We already
have one filter for all our Database tests (there's a separate cruise
project to run just integration tests) but he doesn't need to run all the
tests, only a couple (one to create the schema and one to populate test
data).

So I looked at using the Author("QA") attribute but in the console test
runner it seems to ignore /filter-author:QA as it tells me there are no
tests. The filter and exclude category work as we're using that with our
integration tests but I can only set one category on a fixture.

I found an old (2005) thread about this not working, but I thought it would
have been fixed by now.

Am I missing something or is there some way I can do this?

BTW I'm running version 2.4.197

Thanks.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to