Add SLF4J-simple dependency for tests execution #230
Closed
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Without the
slf4j-simpledependency, log-statements during testsare ignored and the following warning is printed instead:
The error is documented here too:
https://www.slf4j.org/codes.html#StaticLoggerBinder
--- Currently:
$ mvn verify
T E S T S
Running com.google.firebase.iid.FirebaseInstanceIdIT
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.494 sec - in com.google.firebase.iid.FirebaseInstanceIdIT
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
--- With the dependency:
$ mvn verify
T E S T S
Running com.google.firebase.iid.FirebaseInstanceIdIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.536 sec - in com.google.firebase.iid.FirebaseInstanceIdIT
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0