Add ability to detect orphaned golden file

XMLWordPrintableJSON

    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The C++ golden testing framework will detect if you delete the golden file as the test will start to fail, but the opposite is not true - you have no indication that you've deleted a test and failed to delete the corresponding golden file. This came up in a recent PR.

      It would be nice to have some kind of linter warning or test failure informing developers of this situation.

      Aside: this might be easier to achieve in the bazel world if we make the golden file an input to the test target.

              Assignee:
              Unassigned
              Reporter:
              Ben Shteinfeld
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: