8000 Removing the word 'error' for Lorem Ipsum generator · Issue #2663 · faker-ruby/faker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Removing the word 'error' for Lorem Ipsum generator #2663
Closed
@philipfong

Description

@philipfong

Is your feature request related to a problem? Please describe it.
On occasion, in our tests, we use lorem ipsum generation to insert text in various parts of the app. In some of these areas, we'll perform some broad/sweeping checks of some common JavaScript errors that could potentially come up (things like NaN for example). One of those keywords we check for is error.

If you're adding new objects, please describe how you would use them
Removing the word 'error' from the lorem ipsum generator could avoid false negatives in testing.

Describe alternatives you've considered
We manually perform a text replacement for the word 'error' or 'Error' in order to avoid tests from failing.

Additional context
As far as test design goes, I think it is sound to perform generic text checks like the one described, especially if the app under test has experienced some of these problems with things like NaN or null or error appearing in app or in email communications. Overall, removing 'error' from the lorem ipsum dictionary wouldn't add much downside and likely wouldn't be missed.

Metadata

Metadata

Assignees

No one assigned
    Type
    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0