Browse by Tags

All Tags » Unit Testing (RSS)

Automated Testing Isn’t Just for Business Logic

I had a conversation with Kelly Sommers the other day that was partially a short support group session on the annoying tendencies of development teams to completely lose focus on the architecture and design principles of a system and let the code base...

“Explicit” Tests with Resharper

NUnit introduced a feature called Explicit Tests (a long time ago, I believe) that basically mean a test is considered tagged as Ignore unless the test name is explicitly given to the NUnit runner. This is useful if you have tests that you don’t want...

Testing Strategies Involving Async Functions

Some things to keep in mind when writing units tests for code that use async methods: You're not trying to test the framework's "awaitability" and you're not trying to test framework methods that are "awaitable". You want...

Testing the Units

In OO there's levels of abstraction. A class, for example, abstracts a read-world concept into a encapsulated bit of code. A class is autonomous. That class lives in world with other classes and interacts with them, but is autonomous. I believe development...