Add shell history testing

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • Server Tooling & Methods
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Ideally a functional jstest which runs the shell with various input on stdin, and confirms that afterwards the contents of the .dbshell history file are as expected. The existing noPassthrough/shell_history.js test already does some of this, and so could perhaps be extended.

      Alternatively, if that ends up being too difficult or complex, then unit testing of the linenoiseHistorySave and linenoiseHistoryLoad functions might be sufficient.

            Assignee:
            Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: