Write unit tests for OpenVINO ov::Model graph transformations (passes). Use when the user asks to write, add, or refactor tests for a transformation pass (MatcherPass, ModelPass), or to modernize legacy transformation tests.
Write unit tests for OpenVINO ov::Model graph transformations (passes). Use when the user asks to write, add, or refactor tests for a transformation pass (MatcherPass, ModelPass), or to modernize legacy transformation tests.
Read src/common/transformations/docs/writing_tests.md — it covers test location, build target, fixture setup, FunctionsComparator flags, node builders, model builder helpers, parametrized and negative test patterns, and what NOT to do.
Write or modify the test file(s) following the patterns in that guide.