- PACKAGE VARIABLES AND EXPORTS
App::Dochazka::CLI::Test - Reusable test routines
A piece of testing code we run for entries in CommandMap.pm
Takes the "normalized command", i.e. the
nc property returned by
parse(); especially do not send it the raw command entered by the user!
For usage, see
Takes a "command component" and a search string to look for. The command component is inserted into
INTERVAL FETCH $cmd_component
and the search string is looked for in the response.
Returns the response (payload) string for (optional) further testing.