Crunch
About
Pricing
Documentation
News
Support
Download
Customer Login
Welcome Guest! To enable all features please
Login
or
Register
.
Forum
Active Topics
Search
Login
Register
Notification
Error
OK
NCrunch Forum
»
Crunch Discussion
»
Feature Suggestions
»
Recognize xUnit Facts part of child classes
Recognize xUnit Facts part of child classes
Options
Previous Topic
Next Topic
riteshrao
#1
Posted :
Wednesday, May 23, 2012 8:26:46 PM(UTC)
Rank: Newbie
Groups: Registered
Joined: 5/23/2012(UTC)
Posts: 1
When defining our tests we usually structure our facts as child classes of an overall scenario class like so:
public class MyClassTest
{
public class When_doing_something
{
[Fact]
public void Test_condition()
{
//Assertions
}
}
}
Right now NCrunch doesn't recogize Facts contained in private classes.
Back to top
User Profile
View All Posts by User
View Thanks
Remco
#2
Posted :
Wednesday, May 23, 2012 10:26:22 PM(UTC)
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,140
Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Thanks for posting!
Right now the Gallio adapter NCrunch is using for Xunit tests has a known issue where nested tests will not be found when using static analysis. You can work around this by changing your 'Framework utilisation type for Gallio' to 'DynamicAnalysis' under your NCrunch solution settings.
Cheers,
Remco
Back to top
User Profile
View All Posts by User
View Thanks
Users browsing this topic
Guest
NCrunch Forum
»
Crunch Discussion
»
Feature Suggestions
»
Recognize xUnit Facts part of child classes
Forum Jump
General Support
- Setup Problems
- Build/Test Issues
- Daily Usage Issues
Crunch Discussion
- General Feedback
- Feature Suggestions
General Discussion
- General Discussion
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.
Watch this topic
Email this topic
Print this topic
» Normal
Threaded
YAF
|
YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.024 seconds.
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download