I suggest you ...

Introduce NCrunch.TestContext or similar to get info of current running test, e.g. attributes

Original thread: http://forum.ncrunch.net/yaf_postst2127_NCrunch-attributes-on-interface.aspx

I would like a way, in similar to NUnit\s TestContext, to read information about current running test.

One piece of information I would like is attributes like [ExclusivelyUses]; In a complex test setup I might share test logic for multiple tests, and then it would be good to ensure that the proper attributes are applied on the tests to e.g. avoid deadlocks, or ensure an integration test has [ExclusivelyUeses("IntegrationTest")] attribute set etc.

1 vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)

We’ll send you updates on this idea

GreenMoose shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base