From c36d0f042df01146401c49ab9cae3b98b36014bb Mon Sep 17 00:00:00 2001 From: Jake Soenneker Date: Wed, 25 Sep 2024 20:37:17 -0500 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9284154..0672db7 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,14 @@ autoFaker.RuleFor(x => x.Id, f => f.Random.Number()); var order = autoFaker.Generate(); ``` +## Interfaces/Abstracts + +The base library does not generate interfaces or abstract objects, but these enable you to generate mocks of them: + +- [soenneker.utils.autobogus.moq](https://github.com/soenneker/soenneker.utils.autobogus.moq) +- [soenneker.utils.autobogus.nsubstitute](https://github.com/soenneker/soenneker.utils.autobogus.nsubstitute) +- [soenneker.utils.autobogus.fakeiteasy](https://github.com/soenneker/soenneker.utils.autobogus.fakeiteasy) + ## Tips - ⚠️ Instantiating an `AutoFaker` takes a non-trivial amount of time because of Bogus `Faker` initialization (almost 1ms). It's recommended that a single instance be used if possible. - `AutoFaker.GenerateStatic()` is also available, but should be avoided (as it creates a new `AutoFaker`/`Faker` on each call).