Tag: Unit Test

How to write unit tests with Entity Framework Core?

How to write unit tests with Entity Framework Core?

Introduction The unit test will test only the SUT(system under testing) behavior and correctness and it will not test the SUT’s collaborators You might raise a question how to manage dependencies or eliminate them from the unit test, it is a very good question but to answer for this question is very hard. Fortunately, we…

Read More Read More

Test Double

Test Double

Introduction In a well-designed application,  SUT will not do everything that it required instead it will delegate to one or more collaborators to get things done. Managing these dependencies is one of the hard task and unit test focus on SUT, not other collaborators otherwise it will break the FIRST property. Fortunately, we have Test…

Read More Read More

MS Test V2 Introduction

MS Test V2 Introduction

Introduction MS test is a unit testing automation framework which facilitates to write unit tests in .Net framework. It is the primary unit testing framework for Visual Studio. MS Test provides various elements to write the unit tests. The parameter test was one of the important feature that missed in MS Test V1 and MS…

Read More Read More

Basics of Unit Testing

Basics of Unit Testing

Introduction Software testing is a process to ensure whether a software application meets the specified requirements or not and it also identifies the defects to ensure that product is defect/fault free to produce the quality product. A quality product brings the more satisfaction and trusts from the customers. A study says, fixing a defect in…

Read More Read More