Search our courses
Training

All developers want to build good quality software but not all developers test their software as they go along. Why not? A common explanation is “I don’t have time to write tests!”. The more pressure they feel, the fewer tests they write. This leads to less accurate and stable code, less productivity, less confidence and, ultimately, more pressure. It’s a vicious cycle.

This .NET Test Driven Development training course is designed to help you break out of the cycle by embracing unit-testing and, in particular, test-driven development. We will introduce the techniques and the tools necessary to prove your code as you go along. The course can be run using C# or VB.


What you’ll learn:

  •     Understanding TDD principles
  •     Writing effective unit tests
  •     Refactoring code
  •     Implementing Inversion of Control (IoC)
  •     Using mocking frameworks

.NET Test Driven Development

Course Code

GTNET20

Duration

3 Days

Course Fee

POA

Accreditation

N/A

Target Audience

  • This course is aimed at .NET developers who want to learn how to utilize TDD techniques on the .NET platform.

Attendee Requirements

  • At least 6 months experience in C# or VB

We are sorry, there is currently no availability on this course.

contact us for more information

Ways to Attend this Course

  • In the Classroom
  • Private Training

Expand all

Course Description

All developers want to build good quality software but not all developers test their software as they go along. Why not? A common explanation is “I don’t have time to write tests!”. The more pressure they feel, the fewer tests they write. This leads to less accurate and stable code, less productivity, less confidence and, ultimately, more pressure. It’s a vicious cycle.

This .NET Test Driven Development training course is designed to help you break out of the cycle by embracing unit-testing and, in particular, test-driven development. We will introduce the techniques and the tools necessary to prove your code as you go along. The course can be run using C# or VB.


What you’ll learn:

  •     Understanding TDD principles
  •     Writing effective unit tests
  •     Refactoring code
  •     Implementing Inversion of Control (IoC)
  •     Using mocking frameworks
Course Outline

Overview of Test-Driven Development

  •     Test, code, refactor, repeat
  •     The benefits of TDD
  •     The process of TDD
  •     Tools available

Unit testing basics

  •     Getting started with unit testing using Test Explorer in Visual Studio
  •     Structure of a unit test
  •     Using assertions
  •     Dealing with exceptions
  •     Using MS Test Extensions
  •     Additional techniques

Additional testing techniques

  •     Using NUnit
  •     NUnit constraint syntax
  •     NUnit data-driven design
  •     Code coverage

Refactoring

  •     The need for refactoring
  •     Types of refactoring
  •     Guidelines and recommendations
  •     Creating layered designs
  •     Using dependency injection

Inversion of control

  •     Overview of IoC
  •     Using factories
  •     Using IoC containers
  •     Using a configuration file

Test doubles and mocking

  •     Principles and techniques
  •     Getting started with RhinoMocks
  •     Working with mock objects
  •     Additional techniques and considerations

Testing legacy code

  •     Where to start
  •     Adding new behaviour
  •     Finding change points
  •     Breaking dependencies
Learning Path
  • There are a number of options of suitable follow-on courses, depending on your business needs. Please contact us for further details.
Ways to Attend
  • Attend a public course, if there is one available. Please check our schedule, or register your interest in joining a course in your area.
  • Private onsite Team training also available, please contact us to discuss. We can customise this course to suit your business requirements.

Sorry, we are not taking bookings on this course at present

If you would like to contact us for more information on this course, you may do so here:

Contact us

Technical ICT learning & mentoring services

Private Team Training

Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.

Learn more about our Private Team Training

What Our Clients Say

“Very interesting course from an excellent instructor. Highly technical and well delivered”

 

Introduction to Modern Security - GTJ50

Dec '17

“Super experience. The instructor spoke with great knowledge and experience. The materials will be invaluable in the real world”

 

Professional Cloud Service Manager Certification training- GTC13

Dec '17

“Very useful course, making complex topics more approachable and the instructor was very good at getting concepts across and engaging with delegates and our specific needs”

 

Optimising Java - GTJ47

Dec '17

“This was an excellent course and I found it very interesting and enjoyable.  The instructor was a font of knowledge on all aspects of Big Data and Analytics and was enthusiastic about sharing his knowledge”

 

Applied Data Science and Big Data Analytics - GTBD7

Nov '17

“The instructor was fantastic at explaining lessons with applicable work type examples.  He was enthusiastic with what he was teaching which made learning the course more enjoyable”

 

Linux Essentials Certification - GTU2

Oct '17

"Intelligence is the ability to avoid doing work, yet
getting the work done"

Linus Torvalds, creator of Linux and GIT

Technical ICT learning & mentoring services

About GuruTeam

GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials

Download our eBrochure
Our Accreditation Partners
Upcoming Courses

Optimising Java

16-17 April

Cork - limited places

Written & presented by Ben Evans: adapted from his current O’Reilly book Optimizing Java.

Learn More

Blockchain

April & May dates

Dublin, Cork and Galway

Courses designed, written & presented by Fintech expert, incorporating Ethereum & Corda

Learn More

Linux Certification

April, May and June dates

Cork

Linux Professional Institute and CompTIA accredited courses: Linux Essentials, LPIC-1 and LPIC-2

Learn More

Service Manager

15-17 May

Dublin

Professional Cloud Service Manager Certification training - ITIL in the Cloud. Our best-selling cloud course

Learn More

Newsletter

Stay up to date, receive updates on scheduled dates, new courses, offers, and events.

Subscribe to our Newsletter