Skip to content

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

License

BennieCopeland/NSpec

 
 

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 95.4%
  • Visual Basic .NET 1.9%
  • Ruby 1.8%
  • Other 0.9%