tree: 4b1ee75b98bb87ee9b9d3cc1d49dc6c55d589b0c [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. BUILD.gn
  22. canvas_test.h
  23. dart_fixture.cc
  24. dart_fixture.h
  25. dart_isolate_runner.cc
  26. dart_isolate_runner.h
  27. debugger_detection.cc
  28. debugger_detection.h
  29. display_list_testing.cc
  30. display_list_testing.h
  31. elf_loader.cc
  32. elf_loader.h
  33. fixture_test.cc
  34. fixture_test.h
  35. impeller_vulkan_test_status.csv
  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. test_args.cc
  48. test_args.h
  49. test_dart_native_resolver.cc
  50. test_dart_native_resolver.h
  51. test_gl_surface.cc
  52. test_gl_surface.h
  53. test_metal_context.h
  54. test_metal_context.mm
  55. test_metal_surface.cc
  56. test_metal_surface.h
  57. test_metal_surface_impl.h
  58. test_metal_surface_impl.mm
  59. test_metal_surface_unittests.cc
  60. test_timeout_listener.cc
  61. test_timeout_listener.h
  62. test_vulkan_context.cc
  63. test_vulkan_context.h
  64. test_vulkan_image.cc
  65. test_vulkan_image.h
  66. test_vulkan_surface.cc
  67. test_vulkan_surface.h
  68. testing.cc
  69. testing.gni
  70. testing.h
  71. thread_test.cc
  72. thread_test.h
  73. tsan_suppressions.txt
  74. ubsan_suppressions.txt
  75. 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.