Home > Uncategorized > MsTest, xunit and nunit configuration in .NET Core

MsTest, xunit and nunit configuration in .NET Core

.NET core supports three unit test framework in this version. We can also use Test Explorer in Visual Studio. Here’s the configuration in project.json

MSTest

mstest

nunit

nunit

xunit

xunit

 

Here’s three project with each test framework and a couple of test class

projects_test

Open the test explorer from Menu Test -> Window -> Test Explorer

Please build the test projects first and the test will be shown in Test Explorer.

test_explorer

 

You can access the source code and configuration in my Github

Happy TDD-ing !!

 

Cheers

 

 

Advertisement
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: