Skip to content

Commit

Permalink
Fixing templating doc (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwhitfield authored May 19, 2024
1 parent a922be2 commit 1ab9317
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/templating.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ TODO - actually implement this functionality 🤣

Here is an example template that will be generated for all properties of type `int`:

<!-- {% raw %} -->
```
TestMethodName: {memberName:pascal}IsGreaterThan5AndLessThan100
Target: Property
Expand All @@ -75,6 +76,7 @@ Include: Model.Type.Name == 'Int32'
Assert.That(_testClass.{{model.Name}}, Is.GreaterThan(5));
Assert.That(_testClass.{{model.Name}}, Is.LessThan(100));
```
<-- {% endraw %} -->

The output generated is:

Expand Down

0 comments on commit 1ab9317

Please sign in to comment.