Tag: Development

Community

Creating Custom NUnit Assertions

(Brian Mains) NUnit is an excellent utility in supporting application development. Based on JUnit, NUnit tests .NET applications by making assertions about the code, allowing you to compare properties within your objects for certain values. For the unit test to succeed, all of the assertions must ev

Community

ReaderWriterLock

(Jim Mischel) The Monitor lock that we’ve been discussing in previous sections is something of a blunt instrument. You can use it to coordinate exclusive access to a section of code or a data structure, but that’s it. It turns out, though, that often you’d like multiple readers to have access to an