Skip to content
A battle hardened testing framework for C# that's heavily inspired by Mocha and RSpec.
C# Visual Basic Ruby Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.nuget pushed to nuget Sep 26, 2016
NUnit.Runners.2.6.4
RubyInstallationFiles Add support to async/await in client code Oct 1, 2015
examples chore(examples): upgrade to NSpec 3.1.0 Jun 12, 2017
libs moving some nunit bits to nuget others to libs/nunit.runners because … Jun 1, 2012
packages
scripts chore(package): cleanup NSpec & dotnet-test-nspec packages Jan 31, 2017
sln chore(solution): add repository top level files Jun 12, 2017
.ackrc chore(solution): update nuspec, rakefile, ackrc to .NET Core solution Nov 7, 2016
.gitattributes chore(github): exclude chunky TiddlyWiki template from stats Mar 5, 2017
.gitignore chore(repository): update ignore list from standard source Sep 24, 2016
BREAKING-CHANGES.md
CONTRIBUTING.md chore(package): update URLs after moving to organization Feb 3, 2017
Gemfile added pry to gemfile, regened website Apr 15, 2013
README.md docs(readme): reword library description Mar 7, 2017
Rakefile chore(deps): backport to .NET 4.5.1 Feb 17, 2017
appveyor.yml chore(appveyor): rename NuGet artifact May 11, 2017
icon.png
license.txt adding MIT license Mar 7, 2011

README.md

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.

You can’t perform that action at this time.