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)
Signup
FEST
  • FEST
  • FEST-406

OR assertions

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: FEST-Assert 1.3
  • Fix Version/s: FEST-Assert 2.0M1
  • Component/s: Assert
  • Labels:
    None
  • Number of attachments :
    0

Description

Based on http://groups.google.com/group/easytesting/browse_thread/thread/3e74becf8f6f1460?hl=en.
Something like:

assertThat(variable).isEqualTo(a).or().isEqualTo(b); 

or

assertThat(variable).is(or(isEqualTo(a), isEqualTo(b)); 

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
No work has yet been logged on this issue.

People

  • Assignee:
    Yvonne Wang
    Reporter:
    Johannes Zillmann
Vote (0)
Watch (0)

Dates

  • Created:
    18/Nov/10 10:37 AM
    Updated:
    07/Mar/12 4:49 PM
    Resolved:
    06/Feb/11 8:56 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.