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

Add shell history testing

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

      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-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: