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

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.

Private Team Training is available for this course

We deliver this course either on or off-site in various regions around the world, and can customise your delivery to suit your exact business needs. Talk to us about how we can fine-tune a course to suit your team's current skillset and ultimate learning objectives.

Private Team Training | 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

"Absolutely fantastic training. Thoroughly enjoyed it thanks to our highly enthusiastic tutor.  It wouldn't be an understatement to say that it was the best professional training that I have ever received."

 

Customised Linux with Networking

Live Online -  February 2022

 


“It was very positive. This course was 4 days but covered a semester worth of work if it was done in college. The labs were relevant and delegates were provided the lab/coursebook for further study and practice after the course finished. GuruTeam's course was excellent and provides a deeper understanding of the architecture and how it all works. The hands-on aspect was very helpful as it helped solidify the concepts as I went along."

 

Kubernetes Administration Certification - GTLFK

Live Online September 2024

 

 

 

“The Instructor was very knowledgeable, laid back and very approachable during the course. The environment setup was second to none.  Very easy to jump in and follow along with minimal pre-req setup."

Kubernetes Administration Certification - GTLFK

Onsite May 2024

 

“Very engaging and practical course so hope to be able to put the learning into practice.”

 

Being Agile in Business - GTBAB

Live Online September 2021

 

“Great instructor, who encouraged active participation. The breakout groups and exercises kept the group engaged and the content relevant to our own products”.

 

Site Reliability Engineering Foundation - GTDSRE

Live Online January 2022

 

 

 

"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

Kubernetes Administration

4th - 7th November 2024

 Live Online

 

Learn More

RUST PROGRAMMING

4th - 7th November 2024

Live Online

GMT +01:00  09:30 - 17:00 hrs

This course will help you understand what Rust applications look like, how to write Rust applications properly, and how to get the most out of the language and its libraries.

 

 

 

 

 

Learn More

INTRO TO PYTHON 3 

ADVANCED PYTHON 3

15th - 17th October 2024
29th - 31st October 2024

Live Online

   GMT +01:00  09:30 - 17:00 hrs

  Python is a powerful and 
  popular object-oriented 
  programming/scripting
 language with many high q
uality  libraries.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


 

 

 

 

 

 

 

Learn More

 GO LANG TRAINING

4th to 7th November 2024

Live Online      

GMT +01:00  09:30 - 17:00 hrs

This Go language programming training course will help you understand how Go works, and immediately be more productive. If you are building a team using Go, this will be a great opportunity to get your team on the same page and speaking the same language. Innovative lab exercises and code samples are provided to reinforce skills and quickly master the topics.

Learn More

Newsletter

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

Subscribe to our Newsletter