#  Implementing Code Coverage for Android via BuildGraph 

**URL:** <https://forums.unrealengine.com/t/implementing-code-coverage-for-android-via-buildgraph/2731809>\
**Category:** C++\
**Tags:** Android-Packaging, automated-testing, unreal-engine\
**Created:** [June 27, 2026, 1:04am UTC](https://forums.unrealengine.com/t/implementing-code-coverage-for-android-via-buildgraph/2731809 "2026-06-27T01:04:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Claws\_AMG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Claws\_AMG](https://forums.unrealengine.com/u/Claws_AMG)\
**Post date:** [June 27, 2026, 1:04am UTC](https://forums.unrealengine.com/t/implementing-code-coverage-for-android-via-buildgraph/2731809/1 "2026-06-27T01:04:57Z")

</div>

Hello everyone,

I am currently utilizing **BuildGraph** to manage our CI/CD pipeline. For our Windows build targets, I am successfully using the **`<Spawn>`** task to execute tests and capture **Code Coverage** data.

I would like to extend this same pipeline to our **Android** builds. Does the BuildGraph `<Spawn>` task support running ADB-based coverage commands directly, or is there a recommended workflow for mobile platforms? Specifically, I am looking to understand if I should:

1. Wrap ADB shell commands within a `<Spawn>` task to execute the tests on-device and pull the coverage files back to the host.
2. Transition to using a specific **Gauntlet** test controller or the `RunUnreal` commandlet for better mobile integration.
3. Modify the build configuration to specifically support LLVM/Clang coverage instrumentation for the Android NDK.

Any guidance on maintaining parity between Windows and Android coverage pipelines in BuildGraph would be greatly appreciated.

Thank you!
