Skip to content

Commit

Permalink
update README (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
YarinOmesi authored Aug 11, 2023
1 parent 7176c19 commit c908e14
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Creating tested class instance with mocks!

Refer to [Test File Example](./Sample.Tests/Test.cs) to see an example,
Or the tests [Source Generator Tests](./TestsHelper.SourceGenerator.Tests/MockFillerSourceGeneratorTests.cs).
Or the tests [Source Generator Tests](./TestsHelper.SourceGenerator.Tests/Tests.cs).

## How To Use

Expand Down Expand Up @@ -74,10 +74,10 @@ _dependency.MakeString.Verify(Times.Once())
```

## Examples
Examples Of Mocked Type [IDependency](./TestsHelper.SourceGenerator.Tests/Sources/IDependency.cs)
Examples Of Mocked Type [IDependency](./TestsHelper.SourceGenerator.Tests/TestsCases/Base/IDependency.cs)
When Generating Wrappers And When Don't.

| Attribute | Example Link |
|---------------------------|------------------------------------------------------------------------------------------------------------------------|
| `[FillMocks]` | [IDependency without wrappers](./TestsHelper.SourceGenerator.Tests/Sources/Wrapper.IDependency.generated.cs) |
| `[FillMocksWithWrappers]` | [IDependency with wrappers](./TestsHelper.SourceGenerator.Tests/Sources/Wrapper.IDependency.WithWrappers.generated.cs) |
| Attribute | Example Link |
|---------------------------|--------------------------------------------------------------------------------------------------------------------------------------|
| `[FillMocks]` | [IDependency without wrappers](./TestsHelper.SourceGenerator.Tests/TestsCases/GenerateMocks/Output/Wrapper.IDependency.generated.cs) |
| `[FillMocksWithWrappers]` | [IDependency with wrappers](./TestsHelper.SourceGenerator.Tests/TestsCases/GenerateWrappers/Output/Wrapper.IDependency.generated.cs) |

0 comments on commit c908e14

Please sign in to comment.