title
Please take a moment to fill out this form. We will get back to you as soon as possible.
All fields marked with an asterisk (*) are mandatory.
Test-Driven Development Using Visual Studio and C# (VS 2012)
Course Description
Overview
This Test-Driven Development Using Visual Studio and C# (VS 2012) course is designed to provide students 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.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 course 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, including a pluggable architecture that enables integration with third-party test frameworks. This topic is covered in an appendix.
Objectives
- Identify the methodology of test-driven development
- Interpret the unit testing framework that comes with Visual Studio 2012 Professional Edition and higher
- Practice unit testing in your .NET development projects
- Compare example programs and tests written in C#
- Differentiate major changes to the unit testing framework
Audience
- Developers needing to become familiar with unit testing and its standards
Prerequisites
- Basic knowledge of the .NET Framework
- Experience programming in C# with Visual Studio
Topics
- Test-Driven Development
- Functional Tests
- Unit Tests
- Test Automation
- Rules for TDD
- Implications of TDD
- Simple Design
- Refactoring
- Regression Testing
- Test List
- Red/Green/Refactor
- 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
- Structure of Unit Tests
- Assertions
- Unit Testing Framework
- Unit Testing Framework Namespace
- Assert Class
- Assert.AreEqual()
- 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
- Expected Exceptions
- Enqueue and Dequeue
- Tests for Enqueue and Dequeue
- ToArray()
- 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
- Refactoring
- Collection Class Implementation
- Testing the New Version
- 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
Self-Paced Training Info
Learn at your own pace with anytime, anywhere training
- Same in-demand topics as instructor-led public and private classes.
- Standalone learning or supplemental reinforcement.
- e-Learning content varies by course and technology.
- View the Self-Paced version of this outline and what is included in the SPVC course.
- Learn more about e-Learning
Course Added To Shopping Cart
bla
bla
bla
bla
bla
bla
Self-Paced Training Terms & Conditions
Sorry, there are no classes that meet your criteria.
Please contact us to schedule a class.
STOP! Before You Leave
Save 0% on this course!
Take advantage of our online-only offer & save 0% on any course !
Promo Code skip0 will be applied to your registration