tree: 70be1072178ef15faec421b2d1a40479ec0ceaab [path history] [tgz]
  1. android/
  2. benchmark/
  3. dart/
  4. fuchsia/
  5. ios/
  6. litetest/
  7. pkg_test_demo/
  8. resources/
  9. rules/
  10. scenario_app/
  11. skia_gold_client/
  12. smoke_test_failure/
  13. symbols/
  14. .vpython
  15. .vpython3
  16. analysis_options.yaml
  17. analyze_core_dump.sh
  18. android_systrace_test.py
  19. assertions.h
  20. assertions_skia.cc
  21. assertions_skia.h
  22. autoreleasepool_test.h
  23. BUILD.gn
  24. canvas_test.h
  25. dart_fixture.cc
  26. dart_fixture.h
  27. dart_isolate_runner.cc
  28. dart_isolate_runner.h
  29. debugger_detection.cc
  30. debugger_detection.h
  31. display_list_testing.cc
  32. display_list_testing.h
  33. elf_loader.cc
  34. elf_loader.h
  35. fixture_test.cc
  36. fixture_test.h
  37. impeller_golden_tests_output.txt
  38. logger_listener.cc
  39. logger_listener.h
  40. lsan_suppressions.txt
  41. mock_canvas.cc
  42. mock_canvas.h
  43. mock_canvas_unittests.cc
  44. post_task_sync.cc
  45. post_task_sync.h
  46. README.md
  47. run_all_unittests.cc
  48. run_tests.py
  49. run_tests.sh
  50. sanitizer_suppressions.sh
  51. stream_capture.cc
  52. stream_capture.h
  53. test_args.cc
  54. test_args.h
  55. test_dart_native_resolver.cc
  56. test_dart_native_resolver.h
  57. test_gl_surface.cc
  58. test_gl_surface.h
  59. test_metal_context.h
  60. test_metal_context.mm
  61. test_metal_surface.cc
  62. test_metal_surface.h
  63. test_metal_surface_impl.h
  64. test_metal_surface_impl.mm
  65. test_metal_surface_unittests.cc
  66. test_timeout_listener.cc
  67. test_timeout_listener.h
  68. test_vulkan_context.cc
  69. test_vulkan_context.h
  70. test_vulkan_image.cc
  71. test_vulkan_image.h
  72. test_vulkan_surface.cc
  73. test_vulkan_surface.h
  74. testing.cc
  75. testing.gni
  76. testing.h
  77. thread_test.cc
  78. thread_test.h
  79. tsan_suppressions.txt
  80. ubsan_suppressions.txt
  81. xvfb.py
testing/README.md

Engine Testing

This directory contains the infrastructure for running tests on the engine, which are most often run by Flutter's continuous integration (CI) systems.

The tests themselves are located in other directories, closer to the source for each platform, language, and variant. For instance, macOS engine unit tests written in objective C are located in the same directory as the source files, but with a Test suffix added (e.g. “FlutterEngineTest.mm” holds the tests for “FlutterEngine.mm”, and they are located in the same directory).

Testing the Engine locally

If you are working on the engine, you will want to be able to run tests locally.

In order to learn the details of how do that, please consult the Flutter Wiki page on the subject.