Hey, I tried running the command above and get this: When a test fails: ``` ./mach test mobile/android/android-components/components/feature/addons/src/test/java/mozilla/components/feature/addons/ui/PermissionsDialogFragmentTest.kt Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf-8 OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 10 tests completed, 1 failed FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':feature-addons:testDebugUnitTest'. > There were failing tests. See the report at: file:///Users/adhingra/mozilla-unified-2/mobile/android/android-components/components/feature/addons/build/reports/tests/testDebugUnitTest/index.html * Try: > Run with --scan to get full insights. BUILD FAILED in 10s 0:10.35 Overall Summary``` When a test passes: ```./mach test mobile/android/android-components/components/feature/addons/src/test/java/mozilla/components/feature/addons/ui/PermissionsDialogFragmentTest.kt Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf-8 OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 0:14.17 Overall Summary ===============``` I agree that the output is not clear when it passes, planning to work on this soon!
Bug 1950158 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Hey, I tried running the command above and get this: When a test fails: ``` ./mach test mobile/android/android-components/components/feature/addons/src/test/java/mozilla/components/feature/addons/ui/PermissionsDialogFragmentTest.kt Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf-8 OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 10 tests completed, 1 failed FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':feature-addons:testDebugUnitTest'. > There were failing tests. See the report at: file:///Users/adhingra/mozilla-unified-2/mobile/android/android-components/components/feature/addons/build/reports/tests/testDebugUnitTest/index.html * Try: > Run with --scan to get full insights. BUILD FAILED in 10s 0:10.35 Overall Summary ``` When a test passes: ```./mach test mobile/android/android-components/components/feature/addons/src/test/java/mozilla/components/feature/addons/ui/PermissionsDialogFragmentTest.kt Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf-8 OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 0:14.17 Overall Summary =============== ``` I agree that the output is not clear when it passes, planning to work on this soon!