Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

NCrunch failing to to detect MSTest extension attribute
ncrunch3r
#1 Posted : Tuesday, March 31, 2015 3:10:48 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/31/2015(UTC)
Posts: 1

NCrunch is not detecting any MSTest classes decorated with an attribute that inherits from TestClassExtensionAttribute.

I'm trying to get parameterized MStest test cases working with NCrunch using the following extension:

http://bryanchadwick.com/TestExtension/index.html

The VS 2012 Test Explorer recognizes the <TestCaseClass> attribute and executes the parameterized test cases, but NCrunch does neither.
Remco
#2 Posted : Tuesday, March 31, 2015 9:59:07 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,986

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi, thanks for posting.

NCrunch currently does not support the DataSourceAttribute this extension is derived from. Because NCrunch's support for MSTest is emulated rather than integrated, the only way to make this attribute work would be to painstakingly re-implement all its functionality (and quirks) from the ground up ... which is a huge task. Because so few people make use of this attribute and MS seems to be moving away from it, the decision was made not to implement it.

You're welcome to vote for DataSourceAttribute to be supported if you like.

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.023 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download