tree: b823b6f88a146ab2c91c79b96683c9f348684af6 [path history] [tgz]
  1. BUILD.gn
  2. component_base.h
  3. component_context_fake.cc
  4. component_context_fake.h
  5. entity_resolver_fake.cc
  6. entity_resolver_fake.h
  7. fake_agent_runner_storage.h
  8. fake_application_launcher.cc
  9. fake_application_launcher.h
  10. ledger_repository_for_testing.cc
  11. ledger_repository_for_testing.h
  12. mock_base.cc
  13. mock_base.h
  14. README.md
  15. reporting.cc
  16. reporting.h
  17. story_controller_mock.h
  18. story_provider_mock.h
  19. test_with_ledger.cc
  20. test_with_ledger.h
  21. testing.cc
  22. testing.h
lib/testing/README.md

Here is code that helps clients of modular with testing.

When linked against the //peridot/lib/testing library target, a test application can use the functions in lib/testing/testing.h to interact with the TestRunner service in its environment. This is the standard way to test multi-process modular applications; these functions allow a test to declare failure, and signal tear down of tests to the TestRunner service.

See //peridot/tests for more details on running tests.