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