Popularity
4.0
Stable
Activity
0.0
Stable
248
20
58

Description

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.

Programming language: C#
License: MIT License
Tags: Testing     TDD     BDD    
Latest version: v3.1.0

NSpec alternatives and similar packages

Based on the "Testing" category.
Alternatively, view NSpec alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of NSpec or a related project?

Add another 'Testing' Package

README

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/](./examples):

  • [DotNetTestSample](./examples/DotNetTestSample)
    Sample solution showing how to setup a NSpec test project targeting .NET Core

  • [NetFrameworkSample](./examples/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/](./sln/test/Samples) path, [SampleSpecs](./sln/test/Samples/SampleSpecs) and [SampleSpecsFocus](./sln/test/Samples/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](./BREAKING-CHANGES.md).

Contributing

See [contributing](CONTRIBUTING.md) doc page.

License

[MIT](./license.txt)

Credits

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


*Note that all licence references and agreements mentioned in the NSpec README section above are relevant to that project's source code only.