Unit Testing with Visual Studio

In this post, I will show how you can use Unit Testing in Visual Studio. We will go through an example where we create some simple code and then unit test it. First, we will create a Visual Studio project as a class library: We are going to write a simple function to check if a character passed in is a vowel. Next, add a new project for our Unit … Continue reading Unit Testing with Visual Studio

Building Better Software – Best Practices

When building software, several things can be done to minimize errors, prevent future code from breaking, and adding to scalability. Ideally, your practices include some of the following. TEST DRIVEN DEVELOPMENT Test Driven Development, or TDD, is the practice of writing unit tests for a new feature before writing the actual code. You essentially write the unit test case, run it so it fails, then write the code to make … Continue reading Building Better Software – Best Practices