Skip to content

Squash i18n warnings in test runs #1633

Open

Description

@michalvankodev

Since v1.3.0 there is new i18n checker introduced which checks every i18n(key) if it has it's key defined translation in locale file.
In tests there are many occurences of just testing keys which have nothing to do with translations.
This produces many warnings while running tests.
Can there be a flag for squashing these warnings while running tests?

Activity

  1. changed the title [-]Squash i18n messages in test runs[/-] [+]Squash i18n warnings in test runs[/+] on Jan 7, 2016
  2. dchambers commented on Jan 7, 2016

    @dchambers
    Contributor

    Thanks @michalvankodev. Instead of a adding flag, would only displaying one warning message for each test key also be a viable solution for you?

  3. michalvankodev commented on Jan 7, 2016

    @michalvankodev
    ContributorAuthor

    It will definitely improve readability of the test logs.

  4. dchambers commented on Jan 7, 2016

    @dchambers
    Contributor

    @thecapdan, are you happy with this approach too?

  5. thecapdan commented on Jan 7, 2016

    @thecapdan
    Contributor

    That solution sounds ideal if it can be done in a timely manner;)

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions