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

Notification

Icon
Error

Allow overriding of test methods in derived test fixture
dhgoldman
#1 Posted : Thursday, December 13, 2012 2:08:51 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/4/2011(UTC)
Posts: 3

I made some test methods virtual so that I could save myself some typing and simply override them in a derived test fixture, then add some checks before and after the methods were called; unfortunately, it appears that NCrunch doesn't "see" the overridden methods and won't execute them as tests. Am I perhaps doing something wrong, or is this not currently possible? Thanks very much,

- Daniel
Remco
#2 Posted : Thursday, December 13, 2012 8:04:41 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,000

Thanks: 932 times
Was thanked: 1259 time(s) in 1172 post(s)
Hi Daniel -

Normally NCrunch should be picking these up. Are you able to post a short sample code to describe the problem?


Cheers,

Remco
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.022 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download