jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • JBehave
  • JBEHAVE-138

Bug recognising Step with content starting with Given, When, Then, And

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.1
  • Component/s: Core
  • Labels:
    None

Description

When I have a scenario where one my steps contains words starting with Given, When, Then, And, the scenario parser just ignores them.
Eg: Then the page should display name Anderson (Anderson starts with And, so it doesn't recognise)

I've made a couple of changes on the PatternScenarioParser to fix it, and I am sending to you.

Cheers
Alexandre Martins.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Java Source File
    PatternScenarioParser.java
    15/Oct/08 8:54 AM
    6 kB
    Alexandre Martins
  2. Java Source File
    PatternScenarioParserBehaviour.java
    15/Oct/08 8:55 AM
    6 kB
    Alexandre Martins

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Mauro Talevi added a comment - 16/Oct/08 4:45 PM

Applied in trunk. Thanks!

Show
Mauro Talevi added a comment - 16/Oct/08 4:45 PM Applied in trunk. Thanks!

People

  • Assignee:
    Unassigned
    Reporter:
    Alexandre Martins
Vote (0)
Watch (0)

Dates

  • Created:
    15/Oct/08 8:52 AM
    Updated:
    16/Oct/08 4:45 PM
    Resolved:
    16/Oct/08 4:45 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.