-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Steps to reproduce
- JaCoCo version: 0.8.7
- Operating system: macOS Big Sur 11.4
- Tool integration: Gradle
- Complete executable reproducer: https://github.com/arcadefire/JacocoComposeSample
- Steps:
- Checkout to the repo above and execute the command:
./gradlew clean JacocoTestReport
- Checkout to the repo above and execute the command:
Expected behaviour
Creating a simple composable function displaying a text and a test covering it that checks that the text was displayed should produce 100% test coverage.
Actual behaviour
The coverage for such a simple case is particularly low, especially the conditional coverage, even though the function contains no conditional logic.
Also, looking at the function's coverage details, the yellow diamonds report a number of untested conditional branches.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Projects
Status
Done

