Interested in a private company training? Request it here.
Every developer want clean code that works. So how does one get to maintainable and working code? And moreover: keep it working.
When Unit Testing, you will have to decide on frameworks. There are several ones out there, but which one do you need? Visual Studio comes with a built in framework called MSTest, but you also have others, like the popular XUnit. In this module, we will discuss pros and cons of these frameworks, and go into some best practices. How do I know if I have tested enough? With code coverage you can see which paths in your code you have tested, and easily discover untested conditional logic.
If you want your code to be testable, you have to engineer your code for testing. You will learn about Stubs and Mocks, and how to replace dependencies that might interfere with testing.
Building Stubs and Mocks can be a lot of work without an Isolation Framework. MOQ is an isolation framework that allows you to easily build the Fake objects you need for building great tests.
Writing solid, maintainable code that works. This is what every developer wants. This course guides you into the art of unit testing. You will learn how to build testable code. You will become familiar with various techniques and frameworks to give your code a good spin. At the end of this course you will go home with a solid and practical understanding of unit testing and how to apply this in real life. U2U is known for its real-life approach to training, so each chapter is accompanied with lots of hands-on labs.
This course is intended for experienced C# developers.