Skip to main content
Fuchsia
Discover Reference What's new Fuchsia platform
/
  • English
  • 中文 – 简体
  • 中文 – 繁體
Sign in
  • Reference
Overview API Tools Kernel Bazel SDK GN build arguments Diagnostics Hardware Platform specifications Testing
Fuchsia
  • Discover
  • Reference
    • Overview
    • API
    • Tools
    • Kernel
    • Bazel SDK
    • GN build arguments
    • Diagnostics
    • Hardware
    • Platform specifications
    • Testing
  • What's new
  • Fuchsia platform
  • Overview
  • Editors
  • Editors for developing Fuchsia
  • Visual Studio Code
    • Extensions
    • Installing the Fuchsia extension
    • Using the Fuchsia extension
    • Additional VS Code extensions for Fuchsia
    • Additional VS Code configuration
    • Configuring remote workspaces
    • Configuring file reloading
  • YouCompleteMe integration
  • Vim tools for Fuchsia development
  • Kakoune for Fuchsia development
  • SDK
  • assembly_config
  • bindc
  • blobfs-compression
  • blobfs_do_not_depend
  • cmc
  • configc
  • fake-omaha-client
  • Ffx
  • fidl-format
  • fidlc
  • fidlcat
  • fidlgen_cpp
  • fidlgen_hlcpp
  • funnel
  • gen-android-starnix-container
  • minfs
  • orchestrate
  • symbolizer
  • trace2json
  • zbi
  • zxdb
  • ffx command
  • Coding commands
    • cmc
    • configc
    • fidl-format
    • fidlc
    • fidlcat
    • fidlgen CPP
    • fidlgen HLCPP
  • Debugging commands
    • symbolizer
    • zxdb
  • Device management commands
    • funnel
    • minfs
    • zbi
  • Packaging commands
    • blobfs-compression
  • Tool troubleshooting
  • Troubleshooting tools reference
  • Hardware
  • audio-codec-ctl
  • audio-driver-ctl
  • gpioutil
  • i2cutil
  • lights-cli
  • fx developer tools
  • Overview
  • fx command
  • Build commands
    • Overview
    • args
    • bazel
    • bazel-tool
    • build
    • build-and-upload
    • clean
    • clean-build
    • cleandead
    • cleandead-build
    • cleanrepo
    • cleanrepo-build
    • cmc
    • fargo
    • fetch-build-artifacts
    • gen
    • get-build-dir
    • get-src-dir
    • get-workspace-dir
    • gn
    • go
    • jq5
    • list-boards
    • list-products
    • ninja
    • ninjatrace2json
    • rbe
    • repro
    • resultstore
    • run-in-build-dir
    • self-build
    • set
    • set-build-dir
    • set-main-pb
    • use
    • add-host-test
    • add-test
    • build-main-pb
    • check-deps
    • compdb
    • dis
    • fetch-toolchain
    • get-main-pb-path
    • list-packages
    • ls-buildid
    • update-bazel-vendor-dir
  • Code submission and review commands
    • Overview
    • doc-checker
    • mdlint
    • cl
    • gerrit-split-cl
    • gerrit-submit
  • Developer tools commands
    • Overview
    • agents
    • gen-watchman-config
    • setup-jj
  • Device discovery commands
    • Overview
    • get-device
    • get-device-addr
    • list-devices
    • netaddr
    • netls
    • set-device
    • unset-device
  • Device management commands
    • Overview
    • cp
    • flash
    • node-names
    • reboot
    • scp
    • serial
    • sftp
    • shell
    • ssh
    • wait
    • fastboot
    • system-status
  • Documentation commands
    • Overview
    • helpdoc
    • check-licenses
    • fidldoc
    • move-docs
    • readme_fuchsia
  • Internal api commands
    • Overview
    • DEPRECATED! get-build-artifacts
    • get-flash-source
    • list-build-artifacts
  • Kernel commands
    • Overview
    • build-zbi
  • Other commands
    • Overview
    • atomic-commit
    • build-metrics
    • build-profile
    • create-pb-zip
    • exec
    • flash-remote
    • jq
    • list-usb-disks
    • local-publish-platform
    • merge-package-config
    • metrics
    • multi
    • run-script
    • DEPRECATED! sdk-deps
    • serve-remote
    • setup-firewall
    • setup-ufw
    • status
    • vendor
    • arm-esr
    • bisect-rustc
    • clippy
    • download-baseline
    • download-metrics
    • DEPRECATED! enable-ffx-usb
    • extract-metrics
    • extract-zbi
    • ffx
    • fidltags
    • find-owner
    • flash-kola
    • gen-cargo
    • gum
    • iquery
    • make-fuchsia-vol
    • qemu-cipd-ensure
    • refresh-bazel-compdb
    • roll-compiler
    • run-boot-test.py
    • rust-3p-outdated
    • rustdoc-link
    • set-relay
    • setup-go
    • setup-usb-ethernet
    • size-check
    • smoke-test
    • sniff.py
    • zbi_json_to_d3js.py
    • zedmon
  • Run, inspect and debug commands
    • Overview
    • bootfs-size-report
    • debug
    • emu
    • host-tool
    • klog
    • log
    • qemu
    • run-netboot
    • DEPRECATED! syslog
    • bindc
    • binutils
    • blobstats
    • bt-snoop-from-snapshot
    • cpu-stats
    • crosvm
    • dupefinder
    • extract-pprof
    • fidlcat
    • DEPRECATED! fuzz
    • llvm
    • perf-analyze
    • pprof
    • run-boot-test
    • run-in-build
    • run-recovery
    • run-zbi-test-remote
    • snapshot
    • sniff
    • triage
    • zxdb
  • Software delivery commands
    • Overview
    • add-update-source
    • is-package-server-running
    • mkzedboot
    • mkzedboot-remote
    • ota
    • serve
    • DEPRECATED! update
    • update-if-in-base
    • DEPRECATED! force-ota-from-devhost
    • gc
    • mkinstaller
    • mkinstaller-remote
    • publish
    • remove-update-source
    • show-package
  • Source tree commands
    • Overview
    • cipd
    • create
    • format-code
    • jiri
    • lint
    • registry
    • rfc
    • sync
    • sync-to
    • worktree
    • bazel2gn
    • check-goldens
    • clang-tidy
    • dtsfmt
    • list-owners
    • min-owners
    • pending-commits
    • revert
    • set-petal
    • shush
    • sync-from-stem
    • update-3p-owners
    • update-rustc-third-party
  • Test commands
    • Overview
    • DEPRECATED! run-host-tests
    • self-test
    • test
    • testgen
    • core-tests
    • coverage
    • exec-host-tests
    • run-e2e-tests
    • test-stats
    • test-stats.py
  • Testing commands
    • Overview
    • test-category
  • Toolchain commands
    • Overview
    • download-cas-packages
  • Contributor
  • Overview
  • fx command
  • Build commands
    • Overview
    • args
    • bazel
    • bazel-tool
    • build
    • build-and-upload
    • clean
    • clean-build
    • cleandead
    • cleandead-build
    • cleanrepo
    • cleanrepo-build
    • cmc
    • fargo
    • fetch-build-artifacts
    • gen
    • get-build-dir
    • get-src-dir
    • get-workspace-dir
    • gn
    • go
    • jq5
    • list-boards
    • list-products
    • ninja
    • ninjatrace2json
    • rbe
    • repro
    • resultstore
    • run-in-build-dir
    • self-build
    • set
    • set-build-dir
    • set-main-pb
    • use
    • add-host-test
    • add-test
    • build-main-pb
    • check-deps
    • compdb
    • dis
    • fetch-toolchain
    • get-main-pb-path
    • list-packages
    • ls-buildid
    • update-bazel-vendor-dir
  • Code submission and review commands
    • Overview
    • doc-checker
    • mdlint
    • cl
    • gerrit-split-cl
    • gerrit-submit
  • Developer tools commands
    • Overview
    • agents
    • gen-watchman-config
    • setup-jj
  • Device discovery commands
    • Overview
    • get-device
    • get-device-addr
    • list-devices
    • netaddr
    • netls
    • set-device
    • unset-device
  • Device management commands
    • Overview
    • cp
    • flash
    • node-names
    • reboot
    • scp
    • serial
    • sftp
    • shell
    • ssh
    • wait
    • fastboot
    • system-status
  • Documentation commands
    • Overview
    • helpdoc
    • check-licenses
    • fidldoc
    • move-docs
    • readme_fuchsia
  • Internal api commands
    • Overview
    • DEPRECATED! get-build-artifacts
    • get-flash-source
    • list-build-artifacts
  • Kernel commands
    • Overview
    • build-zbi
  • Other commands
    • Overview
    • atomic-commit
    • build-metrics
    • build-profile
    • create-pb-zip
    • exec
    • flash-remote
    • jq
    • list-usb-disks
    • local-publish-platform
    • merge-package-config
    • metrics
    • multi
    • run-script
    • DEPRECATED! sdk-deps
    • serve-remote
    • setup-firewall
    • setup-ufw
    • status
    • vendor
    • arm-esr
    • bisect-rustc
    • clippy
    • download-baseline
    • download-metrics
    • DEPRECATED! enable-ffx-usb
    • extract-metrics
    • extract-zbi
    • ffx
    • fidltags
    • find-owner
    • flash-kola
    • gen-cargo
    • gum
    • iquery
    • make-fuchsia-vol
    • qemu-cipd-ensure
    • refresh-bazel-compdb
    • roll-compiler
    • run-boot-test.py
    • rust-3p-outdated
    • rustdoc-link
    • set-relay
    • setup-go
    • setup-usb-ethernet
    • size-check
    • smoke-test
    • sniff.py
    • zbi_json_to_d3js.py
    • zedmon
  • Run, inspect and debug commands
    • Overview
    • bootfs-size-report
    • debug
    • emu
    • host-tool
    • klog
    • log
    • qemu
    • run-netboot
    • DEPRECATED! syslog
    • bindc
    • binutils
    • blobstats
    • bt-snoop-from-snapshot
    • cpu-stats
    • crosvm
    • dupefinder
    • extract-pprof
    • fidlcat
    • DEPRECATED! fuzz
    • llvm
    • perf-analyze
    • pprof
    • run-boot-test
    • run-in-build
    • run-recovery
    • run-zbi-test-remote
    • snapshot
    • sniff
    • triage
    • zxdb
  • Software delivery commands
    • Overview
    • add-update-source
    • is-package-server-running
    • mkzedboot
    • mkzedboot-remote
    • ota
    • serve
    • DEPRECATED! update
    • update-if-in-base
    • DEPRECATED! force-ota-from-devhost
    • gc
    • mkinstaller
    • mkinstaller-remote
    • publish
    • remove-update-source
    • show-package
  • Source tree commands
    • Overview
    • cipd
    • create
    • format-code
    • jiri
    • lint
    • registry
    • rfc
    • sync
    • sync-to
    • worktree
    • bazel2gn
    • check-goldens
    • clang-tidy
    • dtsfmt
    • list-owners
    • min-owners
    • pending-commits
    • revert
    • set-petal
    • shush
    • sync-from-stem
    • update-3p-owners
    • update-rustc-third-party
  • Test commands
    • Overview
    • DEPRECATED! run-host-tests
    • self-test
    • test
    • testgen
    • core-tests
    • coverage
    • exec-host-tests
    • run-e2e-tests
    • test-stats
    • test-stats.py
  • Testing commands
    • Overview
    • test-category
  • Toolchain commands
    • Overview
    • download-cas-packages
  • Fuchsia
  • Reference
  • Tools

Test fx subcommands

Command Description
run-host-tests DEPRECATED! build and run tests on host
self-test run tests of fx and subcommands
test Entry point for all Fuchsia tests (host, target, and end-to-end)
testgen Component integration test auto-generator
core-tests run zircon core-tests
coverage Runs test and exports coverage data.
exec-host-tests
run-e2e-tests run e2e tests
test-stats Query and calculate test stats.
test-stats.py Query and calculate test stats.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-11-23 UTC.

  • Terms
  • Privacy
  • Manage cookies
  • English
  • 中文 – 简体
  • 中文 – 繁體