Code Monkey home page Code Monkey logo

NSpec

NuGet Version and Downloads count Build status

NSpec is a BDD (Behavior Driven Development) testing framework of the xSpec (Context/Specification) flavor for .NET. NSpec is intended to drive development by specifying behavior within a declared context or scenario. NSpec is heavily inspired by RSpec and Mocha.

Documentation

See nspec.org for instructions on getting started and documentation.

Examples

See under examples/:

  • DotNetTestSample
    Sample solution showing how to setup a NSpec test project targeting .NET Core

  • NetFrameworkSample
    Sample solution showing how to setup a NSpec test project targeting .NET Framework

Also, there are a couple of projects under sln/test/Samples/ path, SampleSpecs and SampleSpecsFocus. Those are part of main NSpec solution, needed when testing NSpec itself, and contain several mixed examples of NSpec test classes.

Breaking changes

To check for potential breaking changes, see BREAKING-CHANGES.md.

Contributing

See contributing doc page.

License

MIT

Credits

NSpec is written by Matt Florence and Amir Rajan. It's shaped and benefited by hard work from our contributors.

NSpec.org's Projects

nspec icon nspec

A battle hardened testing framework for C# that's heavily inspired by Mocha and RSpec.

nspec.vsadapter icon nspec.vsadapter

A test adapter to run NSpec tests from Test Explorer in Visual Studio 2013 and later.

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.