It is sort of possible but pretty sophisticated.

What's your use-case?

Jeff. 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Mark Kharitonov
Sent: Wednesday, August 19, 2009 1:58 PM
To: MbUnit.User
Subject: MbUnit How to reflect on a test fixture type in terms of test
cases?


Hi.

I have a test fixture type. I would like to perform high level reflection on
it, meaning I would like to operate not with MethodInfo objects, but with
the respective test cases, like the TestCase class.
In other words, I would like to be able to write something like this:

foreach (var testCase in GetTestCases(typeof(SomeTestFixture)))
{
}

I am perfectly fine with only the statically compiled test cases
corresponding to the methods attributed with the TestAttribute.

Is it possible?

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