You can use Smart Tests on C#-based projects using the NUnit, xUnit or MSTest unit testing tools. You'll get feedback on missing tests via a built-in Visual Studio Analyzer. The excellent documentation provides straightforward examples of well-written tests to get you started, and walks you through the process of setting up Smart Tests in your project to run the tests. Smart Tests provides a library and Visual Studio Analyzer focused on Test-Driven Development (TDD). SmartTests.Extension, by Ludovic Dubois, is a fantastic Visual Studio 2017 extension for anyone who feels they need a little help writing testable code and unit tests. Thankfully there are many tools and frameworks to make the process easier. Testing is a crucial step in the development process, but I know there are many coders out there who struggle with not only which testing methodology to use, but also the holistic thought process of writing correct and useful tests. Here's my latest round-up of tools you should be checking out. You can even find templates to set up projects just the way you want them and extensions to track how much time you spend working on each file in a solution. You can always make your development environment better, or at least tweaked to better accommodate your preferences, to make mundane tasks simpler, to learn new languages or to generate code automatically for old ones. Microsoft is hard at work on Visual Studio 2019, but developers are still rolling out increasingly helpful and sophisticated tools and extensions for Visual Studio 2017.
0 Comments
Leave a Reply. |