Let us help you find the training program you are looking for.

If you can't find what you are looking for, contact us, we'll help you find it. We have over 800 training programs to choose from.

banner-img

Course Skill Level:

Intermediate

Course Duration:

2 day/s

  • Course Delivery Format:

    Live, instructor-led.

  • Course Category:

    Programming & Development

  • Course Code:

    ACSTDDW21M09

Who should attend & recommended skills:

Those familiar with C# syntax

Who should attend & recommended skills

  • This course is designed as a follow on to the Developing Applications in C# course. Participants familiar with basic C# syntax will benefit from this course
  • Developing Applications in C# course or equivalent experience
  • C# syntax: Basic (1-2 years’ experience) beneficial, not required

About this course

This course quickly introduces developers to the concepts of Agile Programming and how continuous testing is an integral part of those concepts. Developers are then shown the features of NUnit and educates them regarding NUnits strengths and weaknesses. NUnit makes it possible to write higher-quality C# code. It is a powerful tool designed to support robust, predictable, and automated testing development in the C# enterprise application arena.. This course is rich in hands-on opportunities (50%).

Skills acquired & topics covered

  • Attendees will leave this course armed with the skills they require to:
  • Develop solid C# programs, using sound coding testing techniques and best coding practices
  • Introductions
  • Overview of Test-driven Development
  • Unit Testing
  • NUnit
  • Annotations
  • Parameterized Tests
  • Mocking
  • Refactoring

Course breakdown / modules

  • Test, code, refactor, repeat
  • The ROI of TDD
  • Rationale for Test-driven Development
  • The Process of TDD
  • Advantages to TDD
  • Side-effects of TDD
  • Observations About Tests
  • Rationale
  • Advantages

  • What is it?
  • Purpose
  • Vs Integration test
  • Strategies

  • Overview
  • Goals
  • Features
  • Subject under test
  • Assertions
  • Running tests

  • Lifecycle
  • Setup
  • Teardown
  • Expected Exceptions
  • Timeouts

  • Data driven

  • Framework Options
  • Moq
  • TypeMock
  • RhinoMock
  • NSubstitute
  • NSubstitute
  • Using NSubstitute to mock objects in unit testing