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: about 1 month 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 (about 14 years ago)
- Default Branch: master
- Last Pushed: 2022-06-22T16:32:58.000Z (almost 3 years ago)
- Last Synced: 2024-10-11T22:42:54.006Z (6 months 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
[](https://www.nuget.org/packages/NSpec)
[](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).