Create a DBCheckTest library for jstest

XMLWordPrintableJSON

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

      Currently, we have a lot of helper functions in dbcheck_utils.js that can take numerous input parameters. Every time we need to add a new parameter to the function signature, we need to update all the callers, which is time consuming and error prone in Javascript. We should investigate if we can create a DBCheckTest library that takes all the necessary options through constructor and clean the individual helper functions.

      This also involves updating all existing dbcheck jstests, so this could be a huge ticket and we may not want to do in SPM-855

            Assignee:
            Unassigned
            Reporter:
            Jiawei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: