зеркало из
1
0
Форкнуть 0
xUnit.net support for Xamarin Studio
Перейти к файлу
Lex Li 6f9908f498
Update README.md
2017-12-14 16:19:15 -05:00
.github Update ISSUE_TEMPLATE.md 2017-08-12 23:55:30 -04:00
MonoDevelop.XUnit Bumped the version. 2017-11-13 21:13:20 -05:00
XUnitRunner Disabled logging by default. Changed access token. Updated MonoDevelop.Addins. 2017-11-13 21:12:54 -05:00
XUnitRunner.x86 Allowed Rollbar to be disabled via environment variable. 2017-09-28 21:30:59 -04:00
lib Allowed Rollbar to be disabled via environment variable. 2017-09-28 21:30:59 -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
.gitmodules Allowed Rollbar to be disabled via environment variable. 2017-09-28 21:30:59 -04: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 Added information about the end of this project. 2017-12-04 20:35:03 -05:00
LICENSE.md Create LICENSE.md 2017-06-15 21:04:35 -04:00
MonoDevelop.UnitTesting.XUnit.sln Allowed Rollbar to be disabled via environment variable. 2017-09-28 21:30:59 -04:00
README.md Update README.md 2017-12-14 16:19:15 -05:00
addin-project.xml Initial attempt on Visual Studio for Mac support. 2017-01-21 20:30:02 +08:00
dist.package.local.sh Added Rollbar to extension itself. 2017-09-28 19:56:42 -04:00

README.md

Stories in Ready

IMPORTANT: Latest MonoDevelop 7 and Visual Studio for Mac uses VSTest to run xUnit.net test cases natively. Thus, you no longer need an extension like this. Please uninstall this extension to avoid any conflict.

This project fulfilled its mission and officially ended on Dec 4, 2017.

xUnit.NET testing framework support

Integrates xUnit.NET into the MonoDevelop / Visual Studio for Mac IDE.

Copyright (c) Sergey Khabibullin/Lex Li/Zheng Wang

The history about the development of this extension can be found here.

Xamarin Studio is obsolete, so no longer supported by the latest release of this extension. MonoDevelop 5.x and 6.x releases are obsolete, so no longer supported by the latest release of this extension.

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.

You can install MonoDevelop 7 by following the documentation on monodevelop.com, but you might also read this blog post to learn the alternative way.

Visual Studio for Mac Installation

IMPORTANT: Starting from v0.7.6, please download the .mpack files from https://github.com/xunit/xamarinstudio.xunit/releases so as to use the latest release. 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 want to run .NET Framework/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.