android - Can I print an information message in JUnit tests? -


i running junit tests part of android app tests. in case it's testing responses of api rely on may changed (in order validate later tests)

when these tests pass output window of android studio shows no messages. we'd instead start each method message saying endpoint testing (e.g. "tests /oranges//segments") message shows first message both passing , failing tests.

i tried android logs log.println(log.assert, "...", "...") did not show in android studio output.

is there way this? output window refer 1 displayed below

enter image description here

(when test marked ignored, can supply message display. i'd same behaviour other tests)

the old fashioned java styled system.out.println(); work.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -