Programming

You can subscribe to the Programming category micro-feed.

NUnit Exception Occurred While Test Discoverer Was Loading Tests

If you are using NUnit 3+ with the handy test adapter that shows the tests in the Visual Studio Test Explorer, you might come across an issue loading the tests: An exception occurred while test discoverer ‘NUnit3TestDiscoverer’ was loading tests. Exception: Could not load file or assembly ‘nunit.engine, Version=3.5.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb’ or one of its […]

Embracing the TypeScript Strict Mode

TypeScript has had the strict compiler option for a while now. It enables several more stringent checks, including two of my favourites: noImplicitAny and strictNullChecks. My summary of strict mode would be this… “If using TypeScript is better than using plain JavaScript because of the compiler warnings, why wouldn’t you want to turn the compiler […]

Deep TypeScript Destructuring

When you first encounter TypeScript (or JavaScript) destructuring it looks a little bit magic, especially in object destructuring where it looks like you are doing everything in a mirror (the names go on the right!). If you find destructuring a little confusing – strap yourselves in and we’ll rush our way to an example of […]