Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

Test Driven Development (TDD) Using NUnit

( Duration: 2 Days )

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. The Test Driven Development (TDD) using NUnit training course meant for developers, explains the methodology of TDD and the use of NUnit in supporting TDD on Microsoft .NET.

This course is practical, with many example programs and tests written in C#. The goal is to quickly bring you up to speed in using NUnit in .NET development projects.

By attending Test Driven Development (TDD) using NUnit workshop, delegates will learn to:

  • Identify the methodology of Test Driven Development
  • Practice unit testing in Participants .NET development projects
  • Compare example programs and tests written in C#
  • Differentiate major changes to the unit testing framework

  • Basic knowledge of the .NET Framework
  • Experience programming in C# with Visual Studio

  • This Test Driven Development (TDD) using NUnit class is suitable for Developers needing to become familiar with unit testing and its standards

COURSE AGENDA

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
  • 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
  • NUnit-Agent
  • 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
  • Test Driven Development
  • nunit-console.exe Options
  • Categories at the Command Line
  • Refactoring
  • Collection Class Implementation
  • Testing the New Version

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X