tree: bfb3e76726e057dbf4cafdd02f166da6dcacec81 [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. lsan_suppressions.txt
  37. mock_canvas.cc
  38. mock_canvas.h
  39. mock_canvas_unittests.cc
  40. post_task_sync.cc
  41. post_task_sync.h
  42. README.md
  43. run_all_unittests.cc
  44. run_tests.py
  45. run_tests.sh
  46. sanitizer_suppressions.sh
  47. stream_capture.cc
  48. stream_capture.h
  49. test_args.cc
  50. test_args.h
  51. test_dart_native_resolver.cc
  52. test_dart_native_resolver.h
  53. test_gl_surface.cc
  54. test_gl_surface.h
  55. test_metal_context.h
  56. test_metal_context.mm
  57. test_metal_surface.cc
  58. test_metal_surface.h
  59. test_metal_surface_impl.h
  60. test_metal_surface_impl.mm
  61. test_metal_surface_unittests.cc
  62. test_timeout_listener.cc
  63. test_timeout_listener.h
  64. test_vulkan_context.cc
  65. test_vulkan_context.h
  66. test_vulkan_image.cc
  67. test_vulkan_image.h
  68. test_vulkan_surface.cc
  69. test_vulkan_surface.h
  70. testing.cc
  71. testing.gni
  72. testing.h
  73. thread_test.cc
  74. thread_test.h
  75. tsan_suppressions.txt
  76. ubsan_suppressions.txt
  77. 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.