GithubHelp home page GithubHelp logo

invio / invio.xunit Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 29 KB

Extensions to XUnit for Invio's Coding Style and Standards

License: MIT License

Shell 1.91% PowerShell 20.87% C# 77.22%
testing xunit

invio.xunit's People

Contributors

carusology avatar rokadias avatar

Watchers

 avatar  avatar  avatar

invio.xunit's Issues

Update Travis CI to use .NET Core v1.1

Travis CI has not yet been updated to use .NET Core v1.1. Code coverage and deployment is performed via appveyor, so it is not a blocking issue. However, we will not be testing to make sure the library works on Linux / Mac OS X with Mono or .NET Core.

The underlying issue from Travis CI is here.

Add static analysis tool to find untagged test cases

We have an expectation that all of our Xunit tests will be [Fact] or [Theory] annotated so Xunit can find them. We also have an expectation that they will be annotated with [UnitTest] or [IntegrationTest] so we know what kind of test they are.

We need to add a static analysis tool that checks an assembly to see if it has any Xunit tests. If it does, it should alert us if any of those tests lack a [UnitTest], [IntegrationTest] annotation.

Update CI to use Solutions & Portable DebugTypes

Background
As part of our migration to v1.0.4 of the .NET SDK, I set the DebugType to full and updated the CI scripts to explicitly reference XML-based *.csproj files due to the removal of global.json and project.json. The DebugType really should be portable for .NET Core when we pack the code (though it needs to be full for when we run opencover on it), and we should add a *.sln to manage our *.csproj files.

Task

  • Update the repository to have a Invio.Xunit.sln solution at the root of the repository that references the source and test projects.
  • Update Invio.Xunit.Tests.csproj such that <IsPackable>false</IsPackable> is specified.
  • Restore set-debug-type.ps1, but with it updating the DebugType via the XML-based Invio.Xunit.csproj instead of JSON-based project.json.

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.