Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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 and built upon the NUnit assertion library.
C# Ruby

This branch is even with mattflo:tooclever

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
NSpec.GallioAdapter
NSpec
NSpecRunner
NSpecSpecs
SampleSpecs
TDNETRunner
libs
.gitignore
NSpec.crunchsolution.local.xml
NSpec.sln
NSpec.sln.DotSettings
README.md
RakeFile
SharedAssemblyInfo.cs
after.txt
before.txt
dotnet.watchr.rb
green.png
icon.png
license.txt
nspec.nuspec
nspec.watchr
old.html
red.png
watcher_dot_net.rb

README.md

NSpec

NSpec is a BDD framework for .NET of the xSpec (context/specification) flavor. NSpec is intended to be used to drive development through specifying behavior at the unit level. NSpec is heavily inspired by RSpec and built upon the NUnit assertion library.

Contributing

The Nspec test suite is written in NUnit. The test project is NSpecSpecs. Not to be confused with SampleSpecs which hosts numerous tests written in NSpec, some of which are intended to fail.

I prefer using ncrunch to run the NSpec test suite. But you can also use Specwatchr, since it has support for NUnit. To do so make sure that you have the current version of NUnit installed since the dotnet.watchr.rb file contains a hard reference to the 2.5.9 binary.

NUnitRunner.nunit_path = 'C:\program files (x86)\nunit 2.5.9\bin\net-2.0\nunit-console-x86.exe'

If you have Resharper 6.1 there is a team-shared settings file in the repository. Please use the settings to format any new code you write.

Something went wrong with that request. Please try again.