зеркало из
1
0
Форкнуть 0
xUnit.net support for Xamarin Studio
Перейти к файлу
Lex Li af16602cd3 Removed unnecessary files. 2017-08-14 21:29:19 -04:00
.github Update ISSUE_TEMPLATE.md 2017-08-12 23:55:30 -04:00
MonoDevelop.XUnit Removed unnecessary files. 2017-08-14 21:29:19 -04:00
XUnitRunner Removed unnecessary files. 2017-08-14 21:29:19 -04:00
.editorconfig Switched to tab in editorconfig. 2016-08-20 13:53:30 +08:00
.gitattributes Updated 5.0 release source code to support xunit.net 2.0 assemblies (#12) 2016-05-24 20:06:17 +08:00
.gitignore Attempt to support Xamarin Studio 6.0 2016-05-24 20:28:58 +08:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-06-15 21:06:02 -04:00
CONTRIBUTING.md Initial attempt on Visual Studio for Mac support. 2017-01-21 20:30:02 +08:00
HISTORY.md Updated the history doc. 2017-01-14 11:24:10 +08:00
LICENSE.md Create LICENSE.md 2017-06-15 21:04:35 -04:00
MonoDevelop.UnitTesting.XUnit.sln Changed runner to Any CPU. 2016-07-10 20:52:47 +08:00
README.md Update README.md 2017-08-12 23:51:35 -04:00
addin-project.xml Initial attempt on Visual Studio for Mac support. 2017-01-21 20:30:02 +08:00
dist.package.local.sh Revised the script to include compilation. 2017-04-23 15:11:50 -04:00

README.md

Stories in Ready

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.

  1. Open MonoDevelop.
  2. Use Add-ins... menu item to launch Add-in Manager.
  3. Click Gallery tag, and make sure "All repositories" is selected as Repository.
  4. 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.

  1. Open Visual Studio for Mac.
  2. Use Extensions... menu item to launch Extension Manager.
  3. Click Gallery tag, and make sure "All repositories" is selected as Repository.
  4. 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.