Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-93165

Add ability to detect orphaned golden file

    • Query Optimization

      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 Unassigned
            Reporter:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: