{"_id":"5561ed6c4bfe45170030a059","category":{"_id":"553dec691a946a0d00ad6f2b","__v":3,"pages":["553dec6a1a946a0d00ad6f2d","5543575b62b30e0d004b16f9","5561ed6c4bfe45170030a059"],"version":"553dec691a946a0d00ad6f2a","project":"553dec691a946a0d00ad6f27","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-27T07:59:37.956Z","from_sync":false,"order":0,"slug":"getting-started","title":"Getting Started"},"project":"553dec691a946a0d00ad6f27","user":"54c837f0ab706219009e0676","__v":0,"version":{"_id":"553dec691a946a0d00ad6f2a","project":"553dec691a946a0d00ad6f27","__v":2,"createdAt":"2015-04-27T07:59:37.477Z","releaseDate":"2015-04-27T07:59:37.477Z","categories":["553dec691a946a0d00ad6f2b","5543585f795b590d001dc89a"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-05-24T15:25:32.110Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"TestStack.Dossier is an opinionated framework and as such prescribes how to build your fixture data, including how to build lists, anonymous data and mock objects. Because of this we have decided to bundle it with the best of breed libraries for this purpose: AutoFixture and NSubstitute.\n\nThis allows for this library to provide a rich value-add on top of the basics of tracking properties in a dictionary in the `TestDataBuilder` base class. If you want to use different libraries or want a cut down version that doesn't come with NSubstitute or AutoFixture and the extra functionality they bring then take the `TestDataBuilder.cs` file and cut out the bits you don't want - open source ftw :).\n\nIf you have a suggestion for the library that can incorporate this value-add without bundling these libraries feel free to submit a pull request.","excerpt":"","slug":"autofixture-and-nsubstitute-dependencies","type":"basic","title":"AutoFixture and NSubstitute dependencies"}

AutoFixture and NSubstitute dependencies


TestStack.Dossier is an opinionated framework and as such prescribes how to build your fixture data, including how to build lists, anonymous data and mock objects. Because of this we have decided to bundle it with the best of breed libraries for this purpose: AutoFixture and NSubstitute. This allows for this library to provide a rich value-add on top of the basics of tracking properties in a dictionary in the `TestDataBuilder` base class. If you want to use different libraries or want a cut down version that doesn't come with NSubstitute or AutoFixture and the extra functionality they bring then take the `TestDataBuilder.cs` file and cut out the bits you don't want - open source ftw :). If you have a suggestion for the library that can incorporate this value-add without bundling these libraries feel free to submit a pull request.