svanoort / pyresttest

Python Rest Testing
Apache License 2.0
1.15k stars 325 forks source link

how to display every test name and result #213

Closed iyaozhen closed 4 years ago

iyaozhen commented 8 years ago

Thanks for @svanoort create this tool. It is very useful for me. Now run result:

Test Group gecs SUCCEEDED: : 7/7 Tests Passed!
Test Group xp FAILED: : 0/1 Tests Passed!

I think It is too simple, how to display every test name and result. like this:

Test Group gecs SUCCEEDED: : 7/7 Tests Passed!
    test case a: Passed
    test case b: Passed
    ......
Test Group xp FAILED: : 0/1 Tests Passed!
    test case c: FAILED
ewoo commented 7 years ago

This would be extremely useful. Especially for those failed tests.

sohamnavadiya commented 7 years ago

see pull request #222. You might get some idea.

mravitej commented 7 years ago

Hey @iyaozhen, we need to change/ modify resttest.py to get customized output. first my request is same to get the output as you said after i modified resttest,py script as i need. please find the attached python file and place in the same folder (pyresttest/pyresttest/) and execute below command from the pyresttest folder resttest.zip

sudo pytho setup.py install

mravitej commented 7 years ago

And output will parse to html file as well. Please let me know if any concerns

Thanks, Ravi Teja