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