Test Driven Development for C# Developers Training in Hong Kong

  • Learn via: Classroom
  • Duration: 2 Days
  • Level: Intermediate
  • Price: From €3,009+VAT
We can host this training at your preferred location. Contact us!

This is a course for developers, designed to bring about a fundamental change to the way developers go about their day-to-day business of writing software code. Instead of thinking about unit tests as at best an afterthought, having already written the application code, the course aims to turn this practice on its head, and get programmers to write tests before the code to be tested.

Originating in the Agile methodology of Extreme Programming, Test Driven Development (TDD) has become accepted as a mainstream best practice, and is being adopted by major organisations as a means of improving code quality and developer productivity. Because Test Driven Development involves such a major inversion of most developers' ways of thinking and working, the course is strongly exercise based . Typically developers find TDD initially strange, but go on to find it quite liberating, and become 'test infected' (unable to write code without having first devised unit tests.) The exercises are based on the C# programming language using Visual Studio, MSTest, NUnit2,Nunit3, Xunit, NCrunch, Moq, Fluent Assertions and Specflow. All of these operating in a client-only GIT environment.

Competence in C#

At the end of this course you will have:

  • The ability to take the TDD approach to software development
  • An understanding of the key techniques and strategies of TDD, and principles of refactoring code
  • The ability to write unit tests in MSTest, NUnit2, Nunit3, Xunit
  • Understand the async and parallel capabilities of these unit testing frameworks
  • To understand the benefits that NCrunch offers
  • The ability to use mock objects in unit tests
  • Work with Specflow to produce automated Acceptance Tests

The traditional approach : Test-Last


Software Control

  • Introduce enough GIT (client) to allow local s/w control throughout the course

Introduction to Unit Test (2 chapters)

  • MSTest, Nunit, NCrunch, Fluent Assertions.
  • For the introduction we use NCrunch which effectively hides the underlying unit test framework.

Data-Driven unit tests

  • How this is achieved in MSTest, Nunit2, Nunit3 and Xunit

Mocking

  • Using Moq

Technology Specifics

  • Advice on fitting unit test philosophy into Code Contracts, WinForms, WebForms, WPF, MVC, Entity Framework

Specflow

  • Moving beyond Unit Test into automated Acceptance Tests using Specflow


Contact us for more detail about our trainings and for all other enquiries!

Upcoming Trainings

Join our public courses in our Hong Kong facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

21 January 2025 (2 Days)
Hong Kong, Kowloon, Tsuen Wan
Classroom / Virtual Classroom
02 February 2025 (2 Days)
Hong Kong, Kowloon, Tsuen Wan
Classroom / Virtual Classroom
21 January 2025 (2 Days)
Hong Kong, Kowloon, Tsuen Wan
Classroom / Virtual Classroom
02 February 2025 (2 Days)
Hong Kong, Kowloon, Tsuen Wan
Classroom / Virtual Classroom
12 March 2025 (2 Days)
Hong Kong, Kowloon, Tsuen Wan
Classroom / Virtual Classroom
19 March 2025 (2 Days)
Hong Kong, Kowloon, Tsuen Wan
Classroom / Virtual Classroom
12 March 2025 (2 Days)
Hong Kong, Kowloon, Tsuen Wan
Classroom / Virtual Classroom
11 April 2025 (2 Days)
Hong Kong, Kowloon, Tsuen Wan
Classroom / Virtual Classroom
Test Driven Development for C# Developers Training Course in Hong Kong

Hong Kong is officially known as the Hong Kong Special Administrative Region of the People's Republic of China (HKSAR) and is a city and special administrative region of China on the eastern Pearl River Delta in South China. Hong Kong is one of the most densely populated places in the world, with over 7.5 million population. The official languages of the HKSAR are Chinese and English. Hong Kong is a highly developed territory and ranks fourth on the United Nations Human Development Index and the residents of Hong Kong have the highest life expectancies in the world.

The best time to visit Hong Kong is from September to December, since the temperatures, averaging between 19 to 28 degree Celsius. During this outdoor activities-friendly travelling season, you can take a walk along Victoria Harbour, visit the islands of Lantau, Lamma and Cheung Chau and participate in the Mid-Autumn Festival. Top choices of the tourists to visit in Hong Kong are Big Buddha statue, Wong Tai Sin Temple, Repulse Bay and the Beaches and Hong Kong Disneyland.

Explore our diverse range of IT courses, encompassing programming, software development, cyber security, data science, business skills, and Agile/Scrum. Wherever you are in Hong Kong, our seasoned instructors will bring practical training and expert knowledge to your preferred training venue.
By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.