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



NUnit fixture with non-matching constraint on fixture class is silently ignored
#1 Posted : Thursday, May 9, 2019 7:15:23 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 454

Thanks: 123 times
Was thanked: 57 time(s) in 55 post(s)
Given code below, is there a way to have NCrunch warn me about BFoo is not matching the constraint or this purely due to NUnit technicalities?
(If I supply the 2 TypeArgs in same fixture no test is run on the fixture)


#2 Posted : Thursday, May 9, 2019 11:11:58 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,722

Thanks: 744 times
Was thanked: 950 time(s) in 905 post(s)
Unfortunately this is all behind the NUnit abstraction. We try to avoid digging into this logic because when we do, it inhibits our ability to treat NUnit as a service that provides us with test identifiers and allows us to run them generically.
1 user thanked Remco for this useful post.
GreenMoose on 5/10/2019(UTC)
Users browsing this topic
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 5.412 seconds.