Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add status attribute to testcase xml output #254

Open
chickenpickin opened this issue Aug 3, 2017 · 2 comments
Open

add status attribute to testcase xml output #254

chickenpickin opened this issue Aug 3, 2017 · 2 comments
Assignees

Comments

@chickenpickin
Copy link

is it possible to add the status code attribute to the test case xml in addition to the name,time, and timestamp attributes that are already there?

ideally this would display the same status codes (0 through 6) for the overall run

@vmi vmi self-assigned this Aug 23, 2017
@vmi vmi added the enhancement label Sep 3, 2017
@vmi
Copy link
Owner

vmi commented Sep 3, 2017

Hi,

I apologize for replying late.

I think that I can add that feature.
What kind of attribute names do you think is good?

ideally this would display the same status codes (0 through 6) for the overall run

Does this mean setting a failure status code for all test cases if one test case fails?

I think it is better to store the final result in the testsuite tag and the individual result in the testcase tag.

@chickenpickin
Copy link
Author

chickenpickin commented Sep 5, 2017

Hi,

Thanks for looking into this.

The testsuite tag already contains number of failures, errors, etc. and seems OK to me as is.
What I am hoping for is a modification to the testcase tag.

Today, when there is an error the testcase tag looks like this:
<testcase name="LoadLandingPage" time="0.156" timestamp="2017-09-05T15:02:18-04:00"

if it could be modified to contain just the attribute status with the code like this:
<testcase name="LoadLandingPage" time="0.156" status="4" timestamp="2017-09-05T15:02:18-04:00">

That would really help.

Thanks.

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

No branches or pull requests

2 participants