Search code examples
pyresttest

PyRestTest: Print out passed test cases as well


I'm using PyRestTest on linux to test some REST APIs. On the terminal, I only see test cases that failed. How can I get resttest.py to print out the passes test cases as well? I tried looking at the src for resttest.py, but couldn't find a switch. The command line args for resttest.py also do not have a switch to print out the passed test cases. The --verbose option only seems to print out cURL output.


Solution

  • On the command line, set the --log argument to 'info.'

    Incidentally, I am the author of PyRestTest.