Skip to content
/ NSpec Public

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

License

Notifications You must be signed in to change notification settings

nspec/NSpec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

66a2346 · Aug 3, 2017
Sep 26, 2016
Oct 10, 2015
Oct 1, 2015
Jun 12, 2017
Jun 1, 2012
Jun 23, 2012
Jan 31, 2017
Jun 12, 2017
Nov 7, 2016
Mar 5, 2017
Sep 3, 2016
Aug 3, 2017
Feb 3, 2017
Apr 15, 2013
Mar 7, 2017
Feb 17, 2017
May 11, 2017
Mar 23, 2011
Mar 7, 2011

Repository files navigation

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.