Create a create_test.sh for the unit test framework folder.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT11.3.0, 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Test Catch2
    • None
    • Storage Engines
    • 2024-09-03 Q3 Streams v1
    • 3

      To enable easy writing of unit tests in WiredTiger it would be good to have a script that creates a .cpp file from a template. This script would:

      • Create the new .cpp, name provided on command line.
      • Add some boilerplate for a new test section with MockSession and MockConn.
      • Update the CMakeLists file to add it to the compilation unit.

       

            Assignee:
            Jie Chen
            Reporter:
            Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: