{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"never","basic_auth":false,"params":[],"results":{"codes":[]},"try":true},"next":{"description":"","pages":[]},"title":"About SpecsFor","type":"basic","slug":"about-specsfor","excerpt":"","body":"SpecsFor is a .NET library that will help you write better unit, integration, and end-to-end specs.  It is available as a NuGet package, and it's fully-compatible with NUnit (because it's based on it!), meaning it will work with any NUnit test runner.  \n\nSpecsFor is available as a [NuGet package](https://www.nuget.org/packages/SpecsFor/).  When you add it to a project, you get not only SpecsFor, but also several other things to help you with your testing:\n\n  * NUnit - SpecsFor is built on top of NUnit, one of the most well-established test frameworks for .NET.\n  * Moq - A simple, easy-to-use mocking framework.\n  * StructureMap.AutoMocking - SpecsFor uses this to create the class you wish to write tests against.  Note that you do not have to use StructureMap in your main project.\n  * Should - A set of extension methods for writing your test cases, like \"x.ShouldEqual(5).\"\n  * ExpectedObjects - A great library that overcomes the common testing challenge of comparing two complex objects.","updates":[],"order":3,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"545aeb8ade8fad080013261c","user":"54471f91beb6320800da6f75","__v":1,"createdAt":"2014-11-06T03:31:22.463Z","githubsync":"","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["54471fc9e12a270800028ae0","5447b9e7b96a63140077d747","5447be130319802200fc0620","5447ed118d7af31a00dd411c","5447ed230319802200fc0702","5448524c4544c30800241f41","544854504544c30800241f4d","544854af4544c30800241f50","544854e74544c30800241f51","54485557c1b42e08005b82bf"],"_id":"54471fc9e12a270800028adf","__v":10,"project":"54471fc9e12a270800028adc","releaseDate":"2014-10-22T03:08:57.750Z","createdAt":"2014-10-22T03:08:57.750Z"},"category":{"sync":{"isSync":false,"url":""},"pages":["5448517a4544c30800241f3d","54471fc9e12a270800028ae2","544853c7c1b42e08005b82b8","545aeb8ade8fad080013261c","545c2b9fe93d95100059ec3c"],"title":"Start Here","slug":"start-here","order":0,"from_sync":false,"reference":false,"_id":"544854af4544c30800241f50","version":"54471fc9e12a270800028adf","__v":2,"createdAt":"2014-10-23T01:06:55.713Z","project":"54471fc9e12a270800028adc"},"is_link":false,"project":"54471fc9e12a270800028adc"}
SpecsFor is a .NET library that will help you write better unit, integration, and end-to-end specs. It is available as a NuGet package, and it's fully-compatible with NUnit (because it's based on it!), meaning it will work with any NUnit test runner. SpecsFor is available as a [NuGet package](https://www.nuget.org/packages/SpecsFor/). When you add it to a project, you get not only SpecsFor, but also several other things to help you with your testing: * NUnit - SpecsFor is built on top of NUnit, one of the most well-established test frameworks for .NET. * Moq - A simple, easy-to-use mocking framework. * StructureMap.AutoMocking - SpecsFor uses this to create the class you wish to write tests against. Note that you do not have to use StructureMap in your main project. * Should - A set of extension methods for writing your test cases, like "x.ShouldEqual(5)." * ExpectedObjects - A great library that overcomes the common testing challenge of comparing two complex objects.