tree: 6139c4ee1adcd363479cb51936fc7939f45f518c [path history] [tgz]
  1. ffx/
  2. src/
  3. tests/
  4. BUILD.gn
  5. OWNERS
  6. README.md
src/sys/run_test_suite/README.md

test executor

Reviewed on: 2019-10-16

Test Executor runs tests which implement fuchsia.test.Suite and displays result. It will exit with code 0 if tests passes else with code 1.

Building

Test Executor should be included test build of Fuchsia, but if missing can be added to builds by including --with //src/sys/test_executor to the fx set invocation.

Running

$ fx shell run fuchsia-pkg://fuchsia.com/test_executor#meta/test_executor.cmx <v2_test_component_url>

Testing

Tests for this project are available in the tests folder.

$ fx run-test test_executor_integration_tests

Source layout

The entrypoint is located in src/main.rs. Integration tests live in tests/.