Skip to content

BuiltIn: Enhance error reporting of comparison keywords especially when ignore_case=True #2512

Description

@pekkaklarck

Case-insensitivity support added in RF 3.0.1 (#2439) works fine otherwise, but error reporting isn't always consistent. Sometimes error messages show the compared values turned to lower case, and in others they show the original values. It would probably be best to to always show the original values but add a note like (case-insensitive) to the message automatically.

There are also other inconsistencies in error reporting (e.g. do messages end with . or not) that can be fixed when refactoring error reporting in general. Having a better way to report errors involving large strings or containers with many items would be great too, but that is probably so big task that it would deserve a separate issue.

Activity

  1. added this to the milestone on Dec 30, 2016
  2. added
    help wanted
    on Sep 27, 2018
  3. removed this from the v3.1 milestone on Sep 27, 2018
  4. pekkaklarck commented on Sep 27, 2018

    @pekkaklarck
    MemberAuthor

    I don't have time to implement this before RF 3.1. If someone else is interested, I can help. Shouldn't be too complicated even for new contributors, but decided not to add the good first issue label because there can be quite a bit of work to go through all related keywords.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedpriority: medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions