af16602cd3 | ||
---|---|---|
.github | ||
MonoDevelop.XUnit | ||
XUnitRunner | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
HISTORY.md | ||
LICENSE.md | ||
MonoDevelop.UnitTesting.XUnit.sln | ||
README.md | ||
addin-project.xml | ||
dist.package.local.sh |
README.md
xUnit.NET testing framework support
Integrates xUnit.NET into the MonoDevelop / Visual Studio for Mac IDE.
Copyright (c) Sergey Khabibullin/Lex Li/Zheng Wang
Xamarin Studio is obsolete, so no longer supported. MonoDevelop 5.x and 6.x releases are obsolete, so no longer supported.
MonoDevelop 7 Installation
IMPORTANT: Starting from v0.7.6, please download the .mpack files from https://github.com/xunit/xamarinstudio.xunit/releases Then in Extension Manager you can use "Install from file..." button to manually install this extension.
- Open MonoDevelop.
- Use Add-ins... menu item to launch Add-in Manager.
- Click Gallery tag, and make sure "All repositories" is selected as Repository.
- Choose "xUnit.NET 2 testing framework support" under Testing, and click Install button.
If you want to know how to install MonoDevelop 7, you might want to read this blog post.
Visual Studio for Mac Installation
IMPORTANT: Starting from v0.7.6, please download the .mpack files from https://github.com/xunit/xamarinstudio.xunit/releases Then in Extension Manager you can use "Install from file..." button to manually install this extension.
- Open Visual Studio for Mac.
- Use Extensions... menu item to launch Extension Manager.
- Click Gallery tag, and make sure "All repositories" is selected as Repository.
- Choose "xUnit.NET 2 testing framework support" under Testing, and click Install button.
Usage
Upon installation, the Unit Tests panel in MonoDevelop/Visual Studio for Mac starts to recognize xUnit.net test cases. Then you can run/debug test cases.
Extra Note
- The add-in can be manually downloaded from here if you cannot use Add-in Manager.
- Running .NET Core based unit test projects in Visual Studio for Mac does not require this extension. This extension is only needed if you wantto run Mono based unit test projects. Thus, don't report .NET Core based issues to this repo.
- Anyone who wants to contribute to this project, please check the contributing guide to see how to set up the development environment.