Functions/Gherkin.types.ps1xml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="utf-8" ?>
<Types>
    <Type>
        <Name>Gherkin.Ast.Feature</Name>
        <Members>
            <ScriptMethod>
                <Name>ToString</Name>
                <Script>$this.Name</Script>
            </ScriptMethod>
        </Members>
    </Type>
    <Type>
        <Name>Gherkin.Ast.Scenario</Name>
        <Members>
            <ScriptMethod>
                <Name>ToString</Name>
                <Script>$this.Name -replace "`n ", ':'</Script>
            </ScriptMethod>
        </Members>
    </Type>
</Types>