Learn when static methods can’t be unit tested and how to use wrapper classes and the Moq and xUnit frameworks to unit test them when they can When building or working in .NET applications you might ...
Albert Purnama is the co-founder of Typedream, a no-code website builder. Connect with him about software development via Twitter. If you’ve worked for a large tech company before, it is known that ...
It’s tedious to write unit tests. They aren’t fun, and they don’t add any shiny new features. To make it easier, Angular provides us with tools to test “all the things”. But these tools have their ...
We often need to write unit tests for code that accesses an external resource such as a database or a file file system. If such resources are not available, the only way to ensure that the tests can ...
Peter tries out Visual Studio Enterprise 2017's Live Unit Testing and has what might be a life-changing experience. I think it's safe to say that I couldn't make a living as a developer without ...
The idea of unit testing has been around for many years. "Test early, test often" is a mantra that concerns unit testing as well. However, in practice, not many software projects have the luxury of ...
Brendan Higgins recently proposed adding unit tests to the Linux kernel, supplementing other development infrastructure such as perf, autotest and kselftest. The whole issue of testing is very dear to ...