• Dependency injection is a programming technique that makes a class independent of its dependencies. It achieves that by decoupling the usage of an object from its creation. This helps you to follow SOLID’s dependency inversion and single responsibility principles. In this section, you will learn how to use dependency injection using C#.

    LEARN MORE

  • NUnit is a unit testing framework for .NET. It is the most used framework for writing unit test cases. NUnit is very easy to use. It only provides some custom attributes and some static Assert classes. With the combination of custom attributes and static classes, we can write unit test cases easily.

    LEARN MORE

  • Mocking is an integral part of unit testing. Having high test coverage will be impossible without mocking In this section, you will learn about mocking and different benefits that we can achieve by introducing mocking in our unit tests.

    LEARN MORE

  • Nothing is more annoying than a unit test that fails without clearly explaining why. Fluent Assertions provides tons of extension methods that help make reading and understanding tests easier.

    LEARN MORE

  • Maintaining a high level of unit test coverage shouldn’t feel like a struggle. AutoFixture is a unit testing framework that aims to make the setup of our unit tests a whole lot easier.

    LEARN MORE

  • Unit testing is process of ensuring that code works the way it should. Unit tests are just methods that are decorated with special attributes that check if the code works.

    LEARN MORE

  • Acceptance testing is used to determine whether or not a website works as expected. The main purpose of this test is to evaluate the system's compliance with the business requirements and verify if it is has met the required criteria for delivery to end-users. Similar to a unit test, an acceptance test generally has a binary result, pass or fail. For C# Selenium is the go-to acceptance test framework.

    LEARN MORE