You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a logger is not installed, it defaults to NoLog which crashes on any log command.
When inside unit tests, if the class being tested also needs to log something and does so using logcat, it means it will by default crash.
What do you usually do in such scenarios? Having to install a logger on each test (even if done by a rule) sounds quite cumbersome to me and I am not familiar with any better alternatives.
The text was updated successfully, but these errors were encountered:
If a logger is not installed, it defaults to
NoLog
which crashes on any log command.When inside unit tests, if the class being tested also needs to log something and does so using
logcat
, it means it will by default crash.What do you usually do in such scenarios? Having to install a logger on each test (even if done by a rule) sounds quite cumbersome to me and I am not familiar with any better alternatives.
The text was updated successfully, but these errors were encountered: