Book Image

Debugging and Unit Testing in Visual Studio 2017 [Video]

By : Damir Arh
Book Image

Debugging and Unit Testing in Visual Studio 2017 [Video]

By: Damir Arh

Overview of this book

<p><span id="description" class="sugar_field">Visual Studio 2017 brings powerful tools for testing, which help developers concentrate more on writing better code than finding loopholes in their code. This course is a comprehensive guide that exposes best in class techniques to test applications using the tools within Visual Studio.</span></p> <p><span id="description" class="sugar_field">It begins with an introduction to the various tools within Visual Studio. The course shows you how to plan and create a test suite. You’ll learn how to perform unit tests and once you’re comfortable testing, you’ll learn how to automate your tests as well. Moving on, you’ll learn how to test your application for performance, running, distributing, and analyzing load tests. </span></p> <p><span id="description" class="sugar_field">You’ll use the Microsoft Test Manager to streamline your tests and then go on to test web performance and write code to customize it where needed. You’ll also learn how to perform continuous testing that fits in line with DevOps practices for cloud environments. You’ll use Selenium Webdriver and include it in a continuous integration build, after which you’ll learn to use IntelliTrace to debug your applications effortlessly. Finally, you’ll learn to work with test data and reports and manage your test lab.</span></p> <h2><span class="sugar_field">Style and Approach</span></h2> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">Written from a developer’s point of view, the course helps you take advantage of the various testing features, customize them by generating code and fine-tune them to what you need. Filled with examples, you’ll be able to harness all the tools within Visual Studio for your needs.</span></span></p>
Table of Contents (5 chapters)
Chapter 2
Interactive Debugging
Content Locked
Section 5
Debugging Multi-Threaded Applications
To take advantage of modern hardware, applications need to run on more than one thread. This makes debugging more difficult because code is running in parallel on multiple threads. - Identify the current thread - Use specialized windows for parallel debugging - Restrict breakpoints to a specific thread