Skip to content

Conversation

@sohamnavadiya
Copy link

This pull request contains code for print the test case detail with its status. You will see the output with each test case instead of test case group.

@sohamnavadiya sohamnavadiya changed the title Request to print test case detail with its status. Solution of #213 requirement. Print test case detail with its status. Jan 6, 2017
@sohamnavadiya
Copy link
Author

We can keep this part optional also.

@sohamnavadiya sohamnavadiya changed the title Solution of #213 requirement. Print test case detail with its status. Solution of #213. Print test case detail with its status. Jan 9, 2017
@svanoort-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@mvitiuk
Copy link

mvitiuk commented Mar 9, 2017

Hi, is there anyone, who can look at this? I have just started with pyresttest and this improvement will save a lot of time. Thank you.

if single_test_case['status'] == 'Passed':
print('\033[90m' + sub_test_case + '\033[0m')
else:
print('\033[90m' + sub_test_case + '\033[0m')
Copy link

@j796160836 j796160836 Jul 21, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Support skip_term_colors options will be great.
  2. Change failed case color code to \033[92m will be great.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for enhance it

@j796160836
Copy link

j796160836 commented Jul 21, 2017

According to netjunki's JUnit patch, I think that code will beter
https://github.com/netjunki/pyresttest/blob/naive-junit/pyresttest/resttest.py#L631-L640
So I wrote for this
https://github.com/j796160836/pyresttest/blob/johnny-print-detail-testcases/pyresttest/resttest.py#L736-L748

I looking forward to this great breach, hope it can be merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants