Weird NUnit bug#

This is quite freaky: somewhere in our NUnit tests we declared an int array with two elements to hold some expected results. No problem, tests ran. Now we make it three elements, and NUnit fails to start the test. Using debug mode in the NUnitAddin even gives us an ExecutionEngineException. Poking a little further, it turns out that its even worse: just declaring an int array (and never using it!) of three or more elements makes NUnit turn the other way when you ask it to run the test. Whow. How can that even have any influence? Interception on int[].ctor? ;-) This blows my mind.

Comments are closed.
All content © 2012, Jelle Druyts
On this page

Recent Photos
www.flickr.com
This is a Flickr badge showing public photos from Jelle Druyts. Make your own badge here.
Advertising
Top Picks
Statistics
Total Posts: 350
This Year: 0
This Month: 0
This Week: 0
Comments: 530
Archives
Sitemap
Disclaimer
This is my personal website, not my boss', not my mother's, and certainly not the pope's. My personal opinions may be irrelevant, inaccurate, boring or even plain wrong, I'm sorry if that makes you feel uncomfortable. But then again, you don't have to read them, I just hope you'll find something interesting here now and then. I'll certainly do my best. But if you don't like it, go read the pope's blog. I'm sure it's fascinating.

Powered by:
newtelligence dasBlog 2.0.7226.0

Sign In