How to use htmlrunner in reporting instead of nose

25 views
Skip to first unread message

amit agarwal

unread,
Aug 21, 2014, 5:02:24 AM8/21/14
to wtfra...@googlegroups.com
In current wtf using nose whih captured the result in html format, would it be possible to save the results in some readable format as we seen in htmlrunner

2> What if I have to only execute  3 scripts placed in test/tests folder out of 5 scripts placed? how this can be defined in runtest.py?

David Lai

unread,
Aug 22, 2014, 2:18:11 PM8/22/14
to wtfra...@googlegroups.com
runtest.py was really only meant to be a simple run script when you're getting started.  It's really meant more as a convenience for running locally as you're developing the test.  As you need to do more advanced things like reporting, handling test tags, and publishing artifacts, you'll want to create your own build scripts custom build scripts to fit your business needs. Back when I was with Wiredrive, we had shovel scripts that ran nose directly, passing it custom parameters and using different nose plugins .  https://github.com/seomoz/shovel

For targeted test running, we used a tagging system to tag test cases with the features and components the tests tested. We used a shovel task that created nosetest parameters like '-a testtype_smoketests,feature_authentication', and appended it into a command and executed it.
Reply all
Reply to author
Forward
0 new messages