File: test.feature.ref

package info (click to toggle)
kf6-syntax-highlighting 6.18.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 49,060 kB
  • sloc: xml: 203,100; cpp: 12,878; python: 3,055; sh: 965; perl: 814; ruby: 494; pascal: 393; javascript: 161; php: 150; jsp: 132; lisp: 131; haskell: 124; ada: 119; ansic: 107; makefile: 96; f90: 94; ml: 85; cobol: 81; yacc: 71; csh: 62; exp: 61; erlang: 54; sql: 51; java: 47; sed: 45; objc: 37; tcl: 36; awk: 31; asm: 30; fortran: 18; cs: 10
file content (66 lines) | stat: -rw-r--r-- 7,370 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<DocString></DocString><br/>
<Feature>Feature:</Feature><HeaderText> Let’s test Cucumber feature syntax highlighting</HeaderText><br/>
<DocString>  These are just example features to see that syntax highlighting works.</DocString><br/>
<DocString></DocString><br/>
<DocString>  These features are copied from Cucumber’s documentation, and they are</DocString><br/>
<DocString>  licensed under MIT.</DocString><br/>
<DocString></DocString><br/>
<DocString>  Source repository can be found at:</DocString><br/>
<DocString>  https://github.com/cucumber/docs.cucumber.io</DocString><br/>
<DocString></DocString><br/>
<DocString>  </DocString><Comment># Comments are not considered to be part of a feature.</Comment><br/>
<DocString>  </DocString><Keyword>Rule</Keyword><HeaderText>: Users are notified about overdue tasks on first use of the day</HeaderText><br/>
<HeaderText>    </HeaderText><Keyword>Background</Keyword><HeaderText>:</HeaderText><br/>
<HeaderText>      </HeaderText><Step>Given</Step><StepString> I have overdue tasks</StepString><br/>
<StepString></StepString><br/>
<StepString>    </StepString><Keyword>Example</Keyword><HeaderText>: First use of the day</HeaderText><br/>
<HeaderText>      </HeaderText><DocString>"""</DocString><br/>
<Comment>      Docstrings can also be used.</Comment><br/>
<Comment>      </Comment><DocString>"""</DocString><br/>
<HeaderText>      </HeaderText><Step>Given</Step><StepString> I last used the app yesterday</StepString><br/>
<StepString>      </StepString><Step>When</Step><StepString> I use the app</StepString><br/>
<StepString>      </StepString><Step>Then</Step><StepString> I am notified about overdue tasks</StepString><br/>
<StepString></StepString><br/>
<StepString>    </StepString><Keyword>Example</Keyword><HeaderText>: Already used today</HeaderText><br/>
<HeaderText>      </HeaderText><Step>Given</Step><StepString> I last used the app earlier today</StepString><br/>
<StepString>      </StepString><Step>When</Step><StepString> I use the app</StepString><br/>
<StepString>      </StepString><Step>Then</Step><StepString> I am not notified about overdue tasks</StepString><br/>
<StepString></StepString><br/>
<SyntaxError>Feature:</SyntaxError><DocString> Multiple site support</DocString><br/>
<DocString>  Only blog owners can post to a blog, except administrators,</DocString><br/>
<DocString>  who can post to all blogs.</DocString><br/>
<DocString></DocString><br/>
<DocString>  </DocString><Keyword>Background</Keyword><HeaderText>:</HeaderText><br/>
<HeaderText>    </HeaderText><Step>Given</Step><StepString> a global administrator named </StepString><QuotedString>"Greg"</QuotedString><br/>
<StepString>    </StepString><Step>And</Step><StepString> a blog named </StepString><QuotedString>"Greg's anti-tax rants"</QuotedString><br/>
<StepString>    * a customer named </StepString><QuotedString>"Dr. Bill"</QuotedString><br/>
<StepString>    </StepString><Step>And</Step><StepString> a blog named </StepString><QuotedString>"Expensive Therapy"</QuotedString><StepString> owned by </StepString><QuotedString>"Dr. Bill"</QuotedString><br/>
<StepString></StepString><br/>
<StepString>  </StepString><GherkinTag>@tagged_scenario</GherkinTag><br/>
<StepString>  </StepString><Keyword>Scenario</Keyword><HeaderText>: Dr. Bill posts to his own blog</HeaderText><br/>
<HeaderText>    </HeaderText><Step>Given</Step><StepString> I am logged in as Dr. Bill</StepString><br/>
<StepString>    </StepString><Step>When</Step><StepString> I try to post to </StepString><QuotedString>"Expensive Therapy"</QuotedString><br/>
<StepString>    </StepString><Step>Then</Step><StepString> I should see </StepString><QuotedString>"Your article was published."</QuotedString><br/>
<StepString></StepString><br/>
<StepString>  </StepString><Keyword>Scenario</Keyword><HeaderText>: Dr. Bill tries to post to somebody else's blog, and fails</HeaderText><br/>
<HeaderText>    </HeaderText><Step>Given</Step><StepString> the following users exist:</StepString><br/>
<StepString>      </StepString><TableSeparator>|</TableSeparator><TableString> name   </TableString><TableSeparator>|</TableSeparator><TableString> email              </TableString><TableSeparator>|</TableSeparator><TableString> twitter         </TableString><TableSeparator>|</TableSeparator><br/>
<StepString>      </StepString><TableSeparator>|</TableSeparator><TableString> Aslak  </TableString><TableSeparator>|</TableSeparator><TableString> aslak@cucumber.io  </TableString><TableSeparator>|</TableSeparator><TableString> @aslak_hellesoy </TableString><TableSeparator>|</TableSeparator><br/>
<StepString>      </StepString><TableSeparator>|</TableSeparator><TableString> Julien </TableString><TableSeparator>|</TableSeparator><TableString> julien@cucumber.io </TableString><TableSeparator>|</TableSeparator><TableString> @jbpros         </TableString><TableSeparator>|</TableSeparator><br/>
<StepString>      </StepString><TableSeparator>|</TableSeparator><TableString> Matt   </TableString><TableSeparator>|</TableSeparator><TableString> matt@cucumber.io   </TableString><TableSeparator>|</TableSeparator><TableString> @mattwynne      </TableString><TableSeparator>|</TableSeparator><br/>
<StepString>    </StepString><Step>When</Step><StepString> I try to post to </StepString><QuotedString>"Greg's anti-tax rants"</QuotedString><br/>
<StepString>    </StepString><Step>Then</Step><StepString> I should see </StepString><QuotedString>"Hey! That's not your blog!"</QuotedString><br/>
<StepString></StepString><br/>
<SyntaxError>Feature:</SyntaxError><DocString> There can also be Scenario Outline</DocString><br/>
<DocString></DocString><br/>
<DocString>  </DocString><Keyword>Scenario Outline:</Keyword><HeaderText> eating</HeaderText><br/>
<HeaderText>    </HeaderText><Step>Given</Step><StepString> there are </StepString><StepOutlineVariable><start></StepOutlineVariable><StepString> cucumbers</StepString><br/>
<StepString>    </StepString><Step>When</Step><StepString> I eat </StepString><StepOutlineVariable><eat></StepOutlineVariable><StepString> cucumbers</StepString><br/>
<StepString>    </StepString><Step>Then</Step><StepString> I should have </StepString><StepOutlineVariable><left></StepOutlineVariable><StepString> cucumbers</StepString><br/>
<StepString></StepString><br/>
<StepString>    Examples:</StepString><br/>
<StepString>      </StepString><TableSeparator>|</TableSeparator><TableString> start </TableString><TableSeparator>|</TableSeparator><TableString> eat </TableString><TableSeparator>|</TableSeparator><TableString> left </TableString><TableSeparator>|</TableSeparator><br/>
<StepString>      </StepString><TableSeparator>|</TableSeparator><TableString>    12 </TableString><TableSeparator>|</TableSeparator><TableString>   5 </TableString><TableSeparator>|</TableSeparator><TableString>    7 </TableString><TableSeparator>|</TableSeparator><br/>
<StepString>      </StepString><TableSeparator>|</TableSeparator><TableString>    20 </TableString><TableSeparator>|</TableSeparator><TableString>   5 </TableString><TableSeparator>|</TableSeparator><TableString>   15 </TableString><TableSeparator>|</TableSeparator><br/>
<StepString></StepString><br/>
<Comment># </Comment><Keyword>kate:</Keyword><Comment> </Comment><Variable>indent-width</Variable><Comment> </Comment><Number>2</Number><Variable>;</Variable><br/>