unit testing in .net core

Post on 21-Feb-2017

23 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Unit Testing in .NET CoreAnuraj P, MVP VSDTArchitect @ Suyati Technologies@anuraj

What is Unit Testing? - Unit testing refers to the practice of testing certain functions and areas or units of our code.

Tools Required

• Testing Framework• Mocking Framework• Test Runner

Testing Framework - APIs & SDKs helps developers to write unit test code.

Mocking Framework - Mock objects are simulated objects that mimic the behavior of real objects in controlled ways.

Test Runners – A tool / plugin which helps developers to execute test code.

Unit Tests in .NET Core

dotnet new –t xunittestdotnet restoredotnet test

Questions?

Thank you

top related