https://github.com/soenneker/soenneker.utils.autobogus.nsubstitute
An AutoFakerBinder for interfaces and abstract objects using NSubstitute
https://github.com/soenneker/soenneker.utils.autobogus.nsubstitute
autobogus bogus csharp dotnet fixture mock nsubstitue nsubstitute nsubstituteautofakerbinder tests unit util utils
Last synced: 7 months ago
JSON representation
An AutoFakerBinder for interfaces and abstract objects using NSubstitute
- Host: GitHub
- URL: https://github.com/soenneker/soenneker.utils.autobogus.nsubstitute
- Owner: soenneker
- License: mit
- Created: 2024-09-26T01:14:32.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-18T05:11:57.000Z (8 months ago)
- Last Synced: 2024-10-20T20:02:08.281Z (8 months ago)
- Topics: autobogus, bogus, csharp, dotnet, fixture, mock, nsubstitue, nsubstitute, nsubstituteautofakerbinder, tests, unit, util, utils
- Language: C#
- Homepage: https://soenneker.com
- Size: 98.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.nuget.org/packages/soenneker.utils.autobogus.nsubstitute/)
[](https://github.com/soenneker/soenneker.utils.autobogus.nsubstitute/actions/workflows/publish-package.yml)
[](https://www.nuget.org/packages/soenneker.utils.autobogus.nsubstitute/)#  Soenneker.Utils.AutoBogus.NSubstitute
### An AutoFakerBinder for interfaces and abstract objects using NSubstitute## Installation
```
dotnet add package Soenneker.Utils.AutoBogus.NSubstitute
```## Usage
```csharp
var faker = new AutoFaker
{
Binder = new NSubstituteAutoFakerBinder()
};
```