XUnit的使用

安装

通过NuGet获取XUnit的类库

 

源码

https://github.com/xunit/xunit

 

介绍

xUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework.

Written by the original inventor of NUnit v2, xUnit.net is the latest technology for unit testing C#, F#, VB.NET and other .NET languages.

xUnit.net works with ReSharper, CodeRush, TestDriven.NET and Xamarin.

It is part of the .NET Foundation, and operates under their code of conduct. It is licensed under Apache 2 (an OSI approved license). 

 

官方文档

https://xunit.github.io/

 

实战使用

https://github.com/kerryjiang/SuperSocket.ProtoBase/tree/master/test

 

posted @ 2016-09-30 11:04  ChuckLu  阅读(1005)  评论(0编辑  收藏  举报