Home    |    Instructor-led Training    |    Online Training     
         
 
Courses
ADA
Adobe
Agile
AJAX
Android
Apache
AutoCAD
Big Data
BlockChain
Business Analysis
Business Intelligence
Business Objects
Business Skills
C/C++/Go programming
Cisco
Citrix
Cloud Computing
COBOL
Cognos
ColdFusion
COM/COM+
CompTIA
CORBA
CRM
Crystal Reports
Data Science
Datawarehousing
DB2
Desktop Application Software
DevOps
DNS
Embedded Systems
Google Web Toolkit (GWT)
IPhone
ITIL
Java
JBoss
LDAP
Leadership Development
Lotus
Machine learning/AI
Macintosh
Mainframe programming
Mobile
MultiMedia and design
.NET
NetApp
Networking
New Manager Development
Object oriented analysis and design
OpenVMS
Oracle
Oracle VM
Perl
PHP
PostgreSQL
PowerBuilder
Professional Soft Skills Workshops
Project Management
Rational
Ruby
Sales Performance
SAP
SAS
Security
SharePoint
SOA
Software quality and tools
SQL Server
Sybase
Symantec
Telecommunications
Teradata
Tivoli
Tomcat
Unix/Linux/Solaris/AIX/
HP-UX
Unisys Mainframe
Visual Basic
Visual Foxpro
VMware
Web Development
WebLogic
WebSphere
Websphere MQ (MQSeries)
Windows programming
XML
XML Web Services
Other
Test-Driven Development Using Visual Studio and C#
Rev. 4.5
.NET Training Overview

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.

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.

.NET Training Learning objectives

  • Understand the principles of test-driven development
  • Acquire fluency in developing tests using the Visual Studio unit testing framework
  • Efficiently exercise test suites using Visual Studio and MSTest
  • Integrate third-party unit test frameworks such as NUnit into Visual Studio
.NET Training Prerequisites

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

.NET Training Course duration

1 day.

.NET Training Course outline

1. Test-Driven Development
 
What Is Test-Driven Development (TDD)?
Functional Tests / Customer Tests
Unit Tests / Programmer Tests
Test Automation
Simple Design
Refactoring
A Visual Studio Test Drive
TDD with Legacy Code

2. Visual Studio Unit Testing Fundamentals
 
Structure of Unit Tests
Unit Testing Framework
Assertions
Test Cases
Test Fixtures
Test Runners
Ignoring Tests
Initialization and Cleanup

3. More about Unit Testing Framework
 
Expected Exceptions
Custom Asserts
Debugging Unit Tests
MSTest
Refactoring

Appendix A. Third-Party Unit Test Frameworks
 
Integrating Third-Party Unit Test Frameworks into Visual Studio
NUnit Test Adapter
Running NUnit Tests within Visual Studio

System Requirements

Course exercises require Visual Studio 2012 Professional or higher and a Windows 7 SP1 operating system, or more recent.

A good minimal hardware profile for this course would have a 1.8 GHz or equivalent CPU, 2 GB of RAM, and at least 10 GB of free disk space for tools installation and courseware.


Please contact your training representative for more details on having this course delivered onsite or online

Training Outlines - the one stop shopping center for IT training.
© Training Outlines All rights reserved