Testing

This is a collection of resources related to unit testing in C#.

Unit testing is the testing that a developer does as they build their code: checking small units of code, one at a time, to make sure they work. For example, testing each method after it is built.

Unit Testing

Defensive Coding

While defensive coding is a big topic on its own, part of it is being prepared for anything that can go wrong: which means we should also be testing what happens when e.g. user provides bad data, when the a file to be read does not exist, etc.