Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nspec/nspec
A battle hardened testing framework for C# that's heavily inspired by Mocha and RSpec.
https://github.com/nspec/nspec
bdd core dotnet mocha nspec nspec-tests rspec tdd testing
Last synced: 3 days ago
JSON representation
A battle hardened testing framework for C# that's heavily inspired by Mocha and RSpec.
- Host: GitHub
- URL: https://github.com/nspec/nspec
- Owner: nspec
- License: mit
- Created: 2011-02-11T22:52:55.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2022-06-22T16:32:58.000Z (over 2 years ago)
- Last Synced: 2025-01-27T23:10:06.455Z (3 days ago)
- Topics: bdd, core, dotnet, mocha, nspec, nspec-tests, rspec, tdd, testing
- Language: C#
- Homepage: http://nspec.org/
- Size: 69.7 MB
- Stars: 260
- Watchers: 16
- Forks: 57
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: license.txt
Awesome Lists containing this project
README
# NSpec
[![NuGet Version and Downloads count](https://buildstats.info/nuget/NSpec)](https://www.nuget.org/packages/NSpec)
[![Build status](https://ci.appveyor.com/api/projects/status/5mmtg044ds5xx8xr/branch/master?svg=true)](https://ci.appveyor.com/project/BrainCrumbz/nspec/branch/master)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](http://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 FrameworkAlso, 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](http://twitter.com/mattflo) and
[Amir Rajan](http://twitter.com/amirrajan). It's shaped and benefited by hard work from
our [contributors](https://github.com/nspec/NSpec/contributors).