Warning, /frameworks/syntax-highlighting/autotests/reference/test.feature.ref is written in an unsupported language. File is not indexed.

0001 <DocString></DocString><br/>
0002 <Feature>Feature:</Feature><HeaderText> Let’s test Cucumber feature syntax highlighting</HeaderText><br/>
0003 <DocString>  These are just example features to see that syntax highlighting works.</DocString><br/>
0004 <DocString></DocString><br/>
0005 <DocString>  These features are copied from Cucumber’s documentation, and they are</DocString><br/>
0006 <DocString>  licensed under MIT.</DocString><br/>
0007 <DocString></DocString><br/>
0008 <DocString>  Source repository can be found at:</DocString><br/>
0009 <DocString>  https://github.com/cucumber/docs.cucumber.io</DocString><br/>
0010 <DocString></DocString><br/>
0011 <DocString>  </DocString><Comment># Comments are not considered to be part of a feature.</Comment><br/>
0012 <DocString>  </DocString><Keyword>Rule</Keyword><HeaderText>: Users are notified about overdue tasks on first use of the day</HeaderText><br/>
0013 <HeaderText>    </HeaderText><Keyword>Background</Keyword><HeaderText>:</HeaderText><br/>
0014 <HeaderText>      </HeaderText><Step>Given</Step><StepString> I have overdue tasks</StepString><br/>
0015 <StepString></StepString><br/>
0016 <StepString>    </StepString><Keyword>Example</Keyword><HeaderText>: First use of the day</HeaderText><br/>
0017 <HeaderText>      </HeaderText><DocString>"""</DocString><br/>
0018 <Comment>      Docstrings can also be used.</Comment><br/>
0019 <Comment>      </Comment><DocString>"""</DocString><br/>
0020 <HeaderText>      </HeaderText><Step>Given</Step><StepString> I last used the app yesterday</StepString><br/>
0021 <StepString>      </StepString><Step>When</Step><StepString> I use the app</StepString><br/>
0022 <StepString>      </StepString><Step>Then</Step><StepString> I am notified about overdue tasks</StepString><br/>
0023 <StepString></StepString><br/>
0024 <StepString>    </StepString><Keyword>Example</Keyword><HeaderText>: Already used today</HeaderText><br/>
0025 <HeaderText>      </HeaderText><Step>Given</Step><StepString> I last used the app earlier today</StepString><br/>
0026 <StepString>      </StepString><Step>When</Step><StepString> I use the app</StepString><br/>
0027 <StepString>      </StepString><Step>Then</Step><StepString> I am not notified about overdue tasks</StepString><br/>
0028 <StepString></StepString><br/>
0029 <SyntaxError>Feature:</SyntaxError><DocString> Multiple site support</DocString><br/>
0030 <DocString>  Only blog owners can post to a blog, except administrators,</DocString><br/>
0031 <DocString>  who can post to all blogs.</DocString><br/>
0032 <DocString></DocString><br/>
0033 <DocString>  </DocString><Keyword>Background</Keyword><HeaderText>:</HeaderText><br/>
0034 <HeaderText>    </HeaderText><Step>Given</Step><StepString> a global administrator named </StepString><QuotedString>"Greg"</QuotedString><br/>
0035 <StepString>    </StepString><Step>And</Step><StepString> a blog named </StepString><QuotedString>"Greg's anti-tax rants"</QuotedString><br/>
0036 <StepString>    * a customer named </StepString><QuotedString>"Dr. Bill"</QuotedString><br/>
0037 <StepString>    </StepString><Step>And</Step><StepString> a blog named </StepString><QuotedString>"Expensive Therapy"</QuotedString><StepString> owned by </StepString><QuotedString>"Dr. Bill"</QuotedString><br/>
0038 <StepString></StepString><br/>
0039 <StepString>  </StepString><GherkinTag>@tagged_scenario</GherkinTag><br/>
0040 <StepString>  </StepString><Keyword>Scenario</Keyword><HeaderText>: Dr. Bill posts to his own blog</HeaderText><br/>
0041 <HeaderText>    </HeaderText><Step>Given</Step><StepString> I am logged in as Dr. Bill</StepString><br/>
0042 <StepString>    </StepString><Step>When</Step><StepString> I try to post to </StepString><QuotedString>"Expensive Therapy"</QuotedString><br/>
0043 <StepString>    </StepString><Step>Then</Step><StepString> I should see </StepString><QuotedString>"Your article was published."</QuotedString><br/>
0044 <StepString></StepString><br/>
0045 <StepString>  </StepString><Keyword>Scenario</Keyword><HeaderText>: Dr. Bill tries to post to somebody else's blog, and fails</HeaderText><br/>
0046 <HeaderText>    </HeaderText><Step>Given</Step><StepString> the following users exist:</StepString><br/>
0047 <StepString>      </StepString><TableSeparator>|</TableSeparator><TableString> name   </TableString><TableSeparator>|</TableSeparator><TableString> email              </TableString><TableSeparator>|</TableSeparator><TableString> twitter         </TableString><TableSeparator>|</TableSeparator><br/>
0048 <StepString>      </StepString><TableSeparator>|</TableSeparator><TableString> Aslak  </TableString><TableSeparator>|</TableSeparator><TableString> aslak@cucumber.io  </TableString><TableSeparator>|</TableSeparator><TableString> @aslak_hellesoy </TableString><TableSeparator>|</TableSeparator><br/>
0049 <StepString>      </StepString><TableSeparator>|</TableSeparator><TableString> Julien </TableString><TableSeparator>|</TableSeparator><TableString> julien@cucumber.io </TableString><TableSeparator>|</TableSeparator><TableString> @jbpros         </TableString><TableSeparator>|</TableSeparator><br/>
0050 <StepString>      </StepString><TableSeparator>|</TableSeparator><TableString> Matt   </TableString><TableSeparator>|</TableSeparator><TableString> matt@cucumber.io   </TableString><TableSeparator>|</TableSeparator><TableString> @mattwynne      </TableString><TableSeparator>|</TableSeparator><br/>
0051 <StepString>    </StepString><Step>When</Step><StepString> I try to post to </StepString><QuotedString>"Greg's anti-tax rants"</QuotedString><br/>
0052 <StepString>    </StepString><Step>Then</Step><StepString> I should see </StepString><QuotedString>"Hey! That's not your blog!"</QuotedString><br/>
0053 <StepString></StepString><br/>
0054 <SyntaxError>Feature:</SyntaxError><DocString> There can also be Scenario Outline</DocString><br/>
0055 <DocString></DocString><br/>
0056 <DocString>  </DocString><Keyword>Scenario Outline:</Keyword><HeaderText> eating</HeaderText><br/>
0057 <HeaderText>    </HeaderText><Step>Given</Step><StepString> there are </StepString><StepOutlineVariable><start></StepOutlineVariable><StepString> cucumbers</StepString><br/>
0058 <StepString>    </StepString><Step>When</Step><StepString> I eat </StepString><StepOutlineVariable><eat></StepOutlineVariable><StepString> cucumbers</StepString><br/>
0059 <StepString>    </StepString><Step>Then</Step><StepString> I should have </StepString><StepOutlineVariable><left></StepOutlineVariable><StepString> cucumbers</StepString><br/>
0060 <StepString></StepString><br/>
0061 <StepString>    Examples:</StepString><br/>
0062 <StepString>      </StepString><TableSeparator>|</TableSeparator><TableString> start </TableString><TableSeparator>|</TableSeparator><TableString> eat </TableString><TableSeparator>|</TableSeparator><TableString> left </TableString><TableSeparator>|</TableSeparator><br/>
0063 <StepString>      </StepString><TableSeparator>|</TableSeparator><TableString>    12 </TableString><TableSeparator>|</TableSeparator><TableString>   5 </TableString><TableSeparator>|</TableSeparator><TableString>    7 </TableString><TableSeparator>|</TableSeparator><br/>
0064 <StepString>      </StepString><TableSeparator>|</TableSeparator><TableString>    20 </TableString><TableSeparator>|</TableSeparator><TableString>   5 </TableString><TableSeparator>|</TableSeparator><TableString>   15 </TableString><TableSeparator>|</TableSeparator><br/>
0065 <StepString></StepString><br/>
0066 <Comment># </Comment><Keyword>kate:</Keyword><Comment> </Comment><Variable>indent-width</Variable><Comment> </Comment><Number>2</Number><Variable>;</Variable><br/>