Unit Testing with C# Training Course
Unit testing is a testing approach that tests individual units of source code by modifying its properties or triggering an event to confirm whether the outcome is as expected.
In this instructor-led, live training, participants will learn how to write and execute unit tests against a sample .Net application using C# and Visual Studio.
By the end of this training, participants will be able to:
- Use testing frameworks such as NUnit and xUnit.net to create and manage unit test code
- Define and implement a broader test driven development approach to testing
- Adapt the testing framework to extend the test coverage for an application
Audience
- Software test engineers
- Developers
Format of the course
- Part lecture, part discussion, exercises and heavy hands-on practice
Course Outline
Introduction
Overview of unit testing
Unit testing vs functional testing
Preparing the test environment
Working with xUnit.net and NUnit
Writing your first test
Executing and debugging the test
Extending test coverage
Managing test cases
Test driven development (TDD) and continuous integration
Closing remarks
Requirements
- C# programming experience
Need help picking the right course?
Unit Testing with C# Training Course - Enquiry
Testimonials (7)
Unlike your typical training this was done at a pace focused on understanding and having time to ask questions, which is an excellent methodology.
Jon - The Cincinnati Insurance Co
Course - Unit Testing with C#
the trainer level.
Titus - Ness
Course - Unit Testing with C#
The Demo part. I liked this area because here while you wrote each line you also explained what are you doing and the logic. This made me taking some notes on how should I approach of some areas from my automation better.
Larisa - Ness
Course - Unit Testing with C#
He know a lot of information, it's a very good trainer.
Flavius - Ness
Course - Unit Testing with C#
Great examples and exercises.
Mike - Ness
Course - Unit Testing with C#
The trainer and exercises, was a good mix to really understand the notions presented.
Anca Moldovan - Ness
Course - Unit Testing with C#
The course imparted a lot of knowledge on the topics in a very understandable way.
Svilen Yordanov - Nanotec Electronic Bulgaria EOOD
Course - Unit Testing with C#
Related Courses
Introducing C# 6.0 with Visual Studio 2015/2017
28 HoursThis instructor-led, live training in (online or onsite) equips participants with the essential skills needed to leverage the capabilities of C# 6.0 within the Visual Studio 2015/2017 environment.
By the end of this training, participants will be able to:
- Navigate and utilize the Integrated Development Environment (IDE) in Visual Studio 2015/2017.
- Implement basic C# functionalities such as Console.WriteLine, Console.ReadLine, and Hello C# World!.
- Understand the process of compiling and debugging C# code.
- Apply comments in C# for code documentation and readability.
- Explore the fundamentals of .NET 6.0, including CLR, GC, DLL, EXE, and technologies within .NET.
- Review the history of C# from version 1.0 to 6.0 and grasp C# fundamentals such as keywords, literals, operators, and statements.
- Work with numeric and boolean types, classes, objects, fields, properties, indexers, operators, methods, and more in C# 6.0.
- Explore .NET Class Library features, including collections, file handling, data streams, communication between systems, dates, serialization, and parallel programming.
- Access and manipulate data using ADO.NET, LINQ, ORM (Entity Framework), and data in Service-Oriented Architecture (SOA).
- Review applications that can be developed in C# and .NET Framework 6, such as Windows Presentation Foundation, ASP.NET MVC 2, and Silverlight.
C#.Net
35 HoursObjectives
This C# course will enable delegates to develop applications in the C# programming language. Delegates will be able to program using the principles of object orientation. The course will also cover how to use the Visual Studio development environment to produce robust and maintainable applications.
Audience
This course is intended for the following types of software developers:
- New developers
- Developers who understand computer programming but may have learned programming by using a non-graphical language in a university
These developers want to build solutions by using C#; within the Microsoft .NET Framework. They also want to employ Object Orientated techniques to enhance their development skills.
Advanced Programming in C#
35 HoursThis instructor-led, live trainingin in Macao introduces advanced features of C#, examines its usage as both a desktop application programming language and a web programming language for solving real-world problems.
Programming techniques and principals are demonstrated and practiced through in-class, hands-on exercises and walk-throughs.
Advanced C# for Automation Test Engineers
21 HoursThis instructor-led, live training in Macao (online or onsite) is aimed at experienced automation test engineers who want to learn advanced C# programming concepts for automation testing.
By the end of this training, participants will be able to:
- Understand advanced C# programming concepts and best practices.
- Apply advanced object-oriented programming principles to create efficient and flexible automation solutions.
- Design and develop modular and reusable automation frameworks using industry best practices.
Agile Software Testing Overview
7 HoursThis course provides a brief introduction to Agile software testing. It deals with foundational test concepts, within the context of Agile (Scrum) development and uses Crispin & Gregory's (More Agile Testing, 2014) Agile Testing Quadrants model as a framework to explore contemporary principles and practices of Agile testing.
Test Driven Development
21 HoursThis instructor-led, live training in Macao (online or onsite) is aimed at intermediate-level software developers and QA engineers who wish to adopt and master TDD principles and practices to improve code quality and development efficiency.
By the end of this training, participants will be able to:
- Understand the principles and workflow of Test-Driven Development (TDD).
- Write effective and maintainable unit tests.
- Utilize mocking frameworks to create comprehensive test scenarios.
- Apply TDD as a design tool to create robust and flexible code.
ASP.Net 4.0
35 HoursDelegates will be introduced to the .Net framework and will learn to develop web applications using C# 4.0. At course completion delegates should be familiar with the framework, experienced in developing basic web application and conversant with database access using LINQ. Applications will be created using Object Orientated programming.
After completing this course, delegates will be able to:
- Use Visual Studio 2010 effectively
- Learn C# 4.0
- Create commercial ASP.NET Web Applications
- Understand OO Programming, Classes, and Objects
- Debug Applications
- Develop user interfaces using Master Pages, Site Navigation and Themes
- Use ADO.Net and LINQ to read from and write to databases
- Develop rich internet applications using ASP.NET AJAX
- Create and call WCF services
Ionic2
14 HoursThis instructor-led, live training in Macao (online or onsite) is aimed at beginner-level to intermediate-level developers who wish to use Ionic 2 to build hybrid mobile applications.
By the end of this training, participants will be able to:
- Understand the fundamentals of Ionic 2 and its architecture.
- Build single-page and multi-page applications using Ionic 2.
- Customize apps with SCSS and third-party integrations.
- Test, deploy, and manage mobile app releases effectively.
Unit Testing with JUnit
21 HoursJUnit is a framework to write repeatable tests and do unit testing for Java language.
Unit Testing with PHPUnit
14 HoursThis instructor-led, live training in Macao teaches participants how to write testable code in the form of testing units to facilitate the diagnosis, isolation, and resolution of bugs. The training walks participants through the creation of a work-ready, testing environment using the PHPUnit testing framework.
By the end of this training, participants will be able to:
- Distinguish between good and bad testing units.
- Read and interpret test results.
- Proactively manage and diagnose their code base to reduce bugs.
- Ensure that their code base is fit for continuous integration and deployment.
Unit Testing with Python
21 HoursIn this instructor-led, live training in Macao, participants will learn how to use PyTest to write short, maintainable tests that are elegant, expressive and readable.
By the end of this training, participants will be able to:
- Write readable and maintainable tests without the need for boilerplate code.
- Use the fixture model to write small tests.
- Scale tests up to complex functional testing for applications, packages, and libraries.
- Understand and apply PyTest features such as hooks, assert rewriting and plug-ins.
- Reduce test times by running tests in parallel and across multiple processors.
- Run tests in a continuous integration environment, together with other utilities such as tox, mock, coverage, unittest, doctest and Selenium.
- Use Python to test non-Python applications.
Typescript Unit Testing
14 HoursTypeScript is an open source language for building enterprise Javascript applications. It is a strict superset of JavaScript that compiles to plain Javascript and brings static typing and object-oriented development to the language.
This instructor-led, live training introduces TypeScript's unit testing features and frameworks. Participants get a chance to put theory to practice by constructing a collection of unit tests that can be run against real-life applications.
Format of the Course
- Interactive lecture and discussion.
- Lots of exercises and practice.
- Hands-on implementation in a live-lab environment.
Course Customization Options
- This course will focus on the frameworks that can be used to unit test a Javascript or Typescript application (Jasmine, Mocha, Jest, Chai, etc.).
- UI frameworks such as React are optional and can be covered if desired.
- To request a customized training for this course, please contact us to arrange.
Unit Testing with C
35 HoursThis instructor-led, live training in Macao (online or onsite) is aimed at software testers who wish to use C programming to create unit tests for C code.
By the end of this training, participants will be able to:
- Use unit testing frameworks in C to produce unit tests.
- Script custom C unit tests and add them to a call list.
- Simplify the process of debugging and refactoring code with test-driven development.
Unit Testing: MSTest, xUnit, and nUnit
21 HoursThis instructor-led, live training in Macao (online or onsite) is aimed at software tester who wish to unit test code functionality using MSTest, xUnit, and nUnit.
By the end of this training, participants will be able to:
- Create unit tests using MSTest to test software applications.
- Display test results with CodeLens.
- Understand the different testing tools for Test-Driven Development.
Unit Testing with Javascript
7 HoursIn this instructor-led, live training in Macao, participants will learn about various JavaScript testing frameworks as they step through the creation of a unit test suite for a web application.
By the end of this training, participants will be able to:
- Write unit tests in JavaScript using unit test frameworks such as QUnit and Jasmine
- Use frameworks such as Mocha and Chai to implement TDD and BDD