Giter Site home page Giter Site logo

vanthoainguyen / resharper-xunit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xunit/resharper-xunit

0.0 2.0 0.0 14.93 MB

ReSharper runner for xUnit.net

License: Apache License 2.0

Batchfile 0.85% XSLT 10.46% C# 75.54% Visual Basic 3.63% HTML 9.51%

resharper-xunit's Introduction

xUnit.net for ReSharper

This plugin for ReSharper adds support for xUnit.net tests. It supports the following:

  • xUnit.net 1.x and 2.0
  • Discovery and execution of [Fact] and [Theory] based tests from source code, or compiled assemblies (e.g. F# projects can run tests, although tests aren't found in the source editor)
  • External annotations to provide hints to ReSharper that test methods are being implicitly used, and that assert methods check for null, etc.
  • Live Templates to easily create asserts, test methods, etc.
  • Support for ReSharper 8.2 and 9.1. ReSharper 9.0 support is still available from the Extension Manager, but is no longer being maintained. Please upgrade to 9.1

Previously hosted on CodePlex as the xunitcontrib project.

Installing

The plugin can be installed from ReSharper's Extension Manager.

xUnit.net 2.0 support and known issues

Both xUnit.net 1.x and 2.0 are fully supported when running tests, however, the 2.0 support has the following limitations in the editor:

  • Test discovery is still based on 1.x. That means it will only find tests that are marked with [Fact] or other attributes that derive from FactAttribute (this includes [Theory]). Custom test discovery is not yet supported.
  • The Live Templates are still based on 1.x. The biggest problem here is that [Theory] is in the wrong namespace.
  • There is no code completion for [MemberData] has not yet been implemented. xUnit.net 1.x's [PropertyData] is still supported.

See Pull Request #1 for progress on full support.

Building and contributing

See contributing.md for more details.

License

This project is licensed as Apache 2.0. It was relicensed from Ms-PL on 02/05/2014. Previously licensed code is still available at commit b7aa82ad014b089da931a6ab5eb3017a43b5846d and earlier, and with the previous project page on CodePlex.

resharper-xunit's People

Contributors

citizenmatt avatar controlflow avatar eddiegarmon avatar remogloor avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.