PaulHowarth/Blog/2015-05-08

Friday 8th May 2015

Local Packages

  • Updated perl-Test-Script to 1.09:

    • If IPC::Run3::run3 throws an exception it will now fail the test (with a helpful diagnostic) rather than crashing the test script

    • A script that is killed with a signal is now considered a failure as well
    • Use alternate expected exit and signal values with options as the second argument to script_runs

    • Ability to pass input via stdin to the script with script_runs

    • Ability to capture stdout and stderr from script with script_runs

    • Functions to test stdout and stderr:

      • script_stdout_is

      • script_stdout_isnt

      • script_stdout_like

      • script_stdout_unlike

      • script_stderr_is

      • script_stderr_isnt

      • script_stderr_like

      • script_stderr_unlike


Recent