Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6614

verify tests exist for all parts of the API configurations

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      We should have some way of ensuring that all parts of the API configuration possibilities are tested.  A simple manual approach would be to systematically list all API options and identifying which ones are tested (or not), and then working to keep it up to date.

      A more advanced method could enforce that the coverage is up to date.  So if add a new API option is added without a corresponding Python test, that gets flagged during PR testing.  This could be aided by either tagging test functions with some annotation:

      # @wttest.tests("wiredtiger_open", "cache_size")

      or better, for the Python testing itself to "track" which API configuration strings have been used and compare it against the list in dist/api_data.py .

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: