run_integration_tests
is a binary that can execute a command line in an environment that provides services that allow multiple test components to orchestrate joint asynchronous distributed flows of control. It is used for integration tests of the modular framework, for example.
Multiple such command lines can be configured in a single configuration file.
The JSON file specified by --test_file
parameter looks similar to this:
{ "tests":[ { "name":"dummy_session_shell", "exec":[ "fuchsia-pkg://fuchsia.com/basemgr#meta/basemgr.cmx ", "--ledger_repository_for_testing ", "--base_shell=fuchsia-pkg://fuchsia.com/dummy_base_shell#meta/dummy_base_shell.cmx ", "--session_shell=fuchsia-pkg://fuchsia.com/dev_session_shell#meta/dev_session_shell.cmx" ] }, { "name":"parent_child", "exec":[ "fuchsia-pkg://fuchsia.com/basemgr#meta/basemgr.cmx ", "--ledger_repository_for_testing ", "--base_shell=fuchsia-pkg://fuchsia.com/dummy_base_shell#meta/dummy_base_shell.cmx ", "--session_shell=fuchsia-pkg://fuchsia.com/dev_session_shell#meta/dev_session_shell.cmx ", "--session_shell_args=--root_module=fuchsia-pkg://fuchsia.com/parent_module#meta/parent_module.cmx" ] } }
The top-level tests
field is a list of tests to run, sequentially. Each test is an object with the following fields:
name
exec
disabled