Code Monkey home page Code Monkey logo

redfolder.xunit.integrationfact.specflow's Introduction

RedFolder.xUnit.IntegrationFact.SpecFlow

SpecFlow generator to add RedFolder.xUnit.IntegrationFact.IntegrationFact rather than the standard xUnit Fact.

See https://github.com/Red-Folder/RedFolder.xUnit.IntegrationFact for more details on the IntegrationFact

Work in Progress

While it all seems to work, this is currently very much work in progress - thus the alpha state.

Feel free to use - I'd appreciate any feedback.

To Install

Install into your project with:

Install-Package RedFolder.xUnit.IntegrationFact.SpecFlow -Pre

When SpecFlow next generates, it will generate tests using the IntegrationFact rather than the standard xUnit Fact.

Why would I use this

The custom xUnit attribute is intended to be used with integration tests. By nature, integration test will be slower (and possible have side-effects) compared to unit tests.

Normally, for developer productivity, you will want to run you quick unit test very regulary. Slower a test suite runs, less likely the tests are used.

As such, common practice is to keep integration (and over long running) tests separate.

IntegrationFact allows you to do this by selectively enabling/ disabling while still using the xUnit tool you are familar with.

Limitations

This is project-wide - so will generate all SpecFlow features with the IntegrationFact attribute.

redfolder.xunit.integrationfact.specflow's People

Contributors

red-folder avatar

Watchers

James Cloos 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.