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 NUnit (VS 2010)
.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 NUnit in supporting test-driven development on Microsoft .NET. It is current to .NET 4.0 and Visual Studio 2010. 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 using NUnit in your .NET development projects. The student will receive a comprehensive set of materials, including course notes and all the programming examples.

.NET Training Audience

Application developers working in .NET

.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

  • 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 NUnit Framework
  • Testing with NUnit
  • Test Drive
  • IQueue Interface and Stub Class
  • Test List for Queue
  • Using the NUnit GUI Tool
  • A Second Test
  • More Queue Functionality
  • TDD with Legacy Code
  • Acme Travel Agency Case Study
2. NUnit Fundamentals
  • Structure of Unit Tests
  • Assertions
  • NUnit Framework
  • NUnit Assert Class
  • Assert.AreEqual()
  • More Assert Methods
  • Test Case
  • Test Methods
  • Test Fixture
  • Test Runner
  • Test Case Hierarchy
  • Ignoring Tests
  • Test Case Selection
  • Coloring Parent Nodes
  • Test Setup and Tear Down
  • Test Fixture Setup and Tear Down
  • Using NUnit with Visual Studio
3. More about NUnit
  • Expected Exceptions
  • Enqueue and Dequeue
  • Tests for Enqueue and Dequeue
  • ToArray()
  • Test of ToArray()
  • Debugging NUnit Tests
  • Exceptions Dialog
  • Custom Asserts
  • Implementing a Custom Assert
  • Categories
  • Categories with NUnit
  • Results as XML
  • Running NUnit at the Command Line
  • Using nunit-console.exe
  • nunit-console.exe Options
  • Categories at the Command Line
  • Refactoring
  • Collection Class Implementation
  • Testing the New Version



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