NCrunch Forum
»
Crunch Discussion
»
Feature Suggestions
»
Attribute for "Terminate Test Runner Tasks When All Test Execution Is Complete"
Rank: Advanced Member
Groups: Registered
Joined: 7/4/2012(UTC) Posts: 35
Was thanked: 2 time(s) in 2 post(s)
|
Hi,
I have some tests (integration tests incorporating WCF and AppDomains) that do not work when a test runner is reused for more than one test.
Thus it would be nice if I could specify for these tests "Terminate Test Runner Tasks When All Test Execution Is Complete".
It could be specified either as an attribute or as a project level configuration.
Currently this can only be specified for the complete NCrunch configuration.
Regards
Wilhelm
PS: NCrunch 2.4 works really nice.
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 7,182
Thanks: 970 times Was thanked: 1298 time(s) in 1203 post(s)
|
Hi Wilhelm - Thanks for sharing this request! I'm wondering if you've had a look at the Isolated attribute? I think this may be what you're after. Cheers, Remco
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/4/2012(UTC) Posts: 35
Was thanked: 2 time(s) in 2 post(s)
|
Hi Remco,
Thanks for the quick answer.
I am already using the Isolated attribute - but it did not help.
Regards
Wilhelm
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 7,182
Thanks: 970 times Was thanked: 1298 time(s) in 1203 post(s)
|
Hi Wilhelm -
IsolatedAttribute is reliable in producing and tearing down specialised test processes for single execution runs. If your tests are still failing intermittently, I suspect there may be something else going on. Do the tests make use of any external resource? A database perhaps?
|
|
|
|
NCrunch Forum
»
Crunch Discussion
»
Feature Suggestions
»
Attribute for "Terminate Test Runner Tasks When All Test Execution Is Complete"
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.NETThis page was generated in 0.027 seconds.