Test-Driven Development Using Visual Studio and C# (VS 2012) Training in Montgomery

Enroll in or hire us to teach our Test-Driven Development Using Visual Studio and C# (VS 2012) class in Montgomery, Alabama by calling us @303.377.6176. Like all HSG classes, Test-Driven Development Using Visual Studio and C# (VS 2012) may be offered either onsite or via instructor led virtual training. Consider looking at our public training schedule to see if it is scheduled: Public Training Classes
Provided there are enough attendees, Test-Driven Development Using Visual Studio and C# (VS 2012) may be taught at one of our local training facilities.

Answers to Popular Questions:

Yes, this class can be tailored to meet your specific training needs.
Yes, we provide C# consulting services.
Yes, group discounts are provided.

Course Description

An emerging software engineering paradigm is test - driven development, where tests are written early and testing is performed continuously during the development process. Problems are discovered early and corrected when they are found. This one - day cour se for developers explains the methodology of test - driven development and the use of the unit testing framework that comes with Visual Studio 2012 Professional Edition and higher. Visual Studio 2012 brings major changes to the unit testing framework, inclu ding a pluggable architecture that enables integration with third - party test frameworks. This topic is covered in an appendix. The course is practical, with many example programs and tests written in C#, including a cumulative case study. The goal is to quickly bring you up to speed in doing unit testing in your .NET development projects. The student will receive a comprehensive set of materials, including course notes and all the programming examples.
Course Length: 1 Days
Course Tuition: $390 (US)


The student should have a basic knowledge of the .NET Framework and experience programming in C# with Visual Studio

Course Outline


1.Test-Driven Development
Test-Driven Development
Functional Tests
Unit Tests
Test Automation
Rules for TDD
Implications of TDD
Simple Design
Regression Testing
Test List
Using the Unit Testing Framework
Testing with Unit Testing Framework
A Unit Testing Framework Test Drive
IQueue Interface and Stub Class
Test List for Queue
A Second Test
More Queue Functionality
TDD with Legacy Code
Acme Travel Agency Case Study

2. Visual Studio Unit Testing Fundamentals
Structure of Unit Tests
Unit Testing Framework
Unit Testing Framework Namespace
Assert Class
More Assert Methods
CollectionAssert Class
StringAssert Class
Test Case
Test Methods
Test Class
Test Runner
Command Line Test Runner
Ignoring Tests
Using the Ignore Attribute
Grouping Test Results
Test Initialization and Cleanup
Class Initialization and Cleanup

3. More about Unit Testing Framework
Expected Exceptions
Enqueue and Dequeue
Tests for Enqueue and Dequeue
Test of ToArray()
Exceptions Dialog
Custom Asserts
Implementing a Custom Assert
Debugging Unit Tests
Running Selected Tests
Running Tests at the Command Line
MSTest.exe Command Line Options
Test Lists at the Command Line
Collection Class Implementation
Testing the New Version

4.Appendix A: Third-Party Unit Test Frameworks
Third-Party Unit Test Frameworks
Using NUnit in Visual Studio
Installing NUnit Test Adaptor
Using NUnit
Using NuGet Package Manager
Running the Tests in Visual Studio
Two More Tests

5. Appendix B: Learning Resources


Course Directory [training on all levels]

Upcoming Classes
Gain insight and ideas from students with different perspectives and experiences.

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.