Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Squash i18n warnings in test runs #1633

Open
michalvankodev opened this issue Jan 7, 2016 · 4 comments
Open

Squash i18n warnings in test runs #1633

michalvankodev opened this issue Jan 7, 2016 · 4 comments

Comments

@michalvankodev
Copy link
Contributor

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?

@michalvankodev michalvankodev changed the title Squash i18n messages in test runs Squash i18n warnings in test runs Jan 7, 2016
@dchambers
Copy link
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?

@michalvankodev
Copy link
Contributor Author

It will definitely improve readability of the test logs.

@dchambers
Copy link
Contributor

@thecapdan, are you happy with this approach too?

@thecapdan
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants