-
Notifications
You must be signed in to change notification settings - Fork 17
Suite descriptions are not aggregated #126
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
Comments
The pre-run event document in this case looks as follows: <?xml version="1.0"?>
<event type="pre-run">
<items>
<suite id="foo">
<name>foo</name>
<items>
<suite id="foo.bar">
<name>bar</name>
<items>
<suite id="foo.bar.y">
<name>y</name>
<description>suite y</description>
<items>
<test id="foo.bar.y.test_c">
<executableType>test</executableType>
<ownerName>SCOTT</ownerName>
<objectName>y</objectName>
<procedureName>test_c</procedureName>
<disabled>true</disabled>
<name>test_c</name>
<description>feature c</description>
<testNumber>1</testNumber>
</test>
<test id="foo.bar.y.test_d">
<executableType>test</executableType>
<ownerName>SCOTT</ownerName>
<objectName>y</objectName>
<procedureName>test_d</procedureName>
<disabled>true</disabled>
<name>test_d</name>
<description>feature d</description>
<testNumber>2</testNumber>
</test>
</items>
</suite>
<suite id="foo.bar.x">
<name>x</name>
<description>suite x</description>
<items>
<test id="foo.bar.x.test_a">
<executableType>test</executableType>
<ownerName>SCOTT</ownerName>
<objectName>x</objectName>
<procedureName>test_a</procedureName>
<disabled>true</disabled>
<name>test_a</name>
<description>feature a</description>
<testNumber>3</testNumber>
</test>
<test id="foo.bar.x.test_b">
<executableType>test</executableType>
<ownerName>SCOTT</ownerName>
<objectName>x</objectName>
<procedureName>test_b</procedureName>
<disabled>true</disabled>
<name>test_b</name>
<description>feature b</description>
<testNumber>4</testNumber>
</test>
</items>
</suite>
</items>
</suite>
</items>
</suite>
</items>
<totalNumberOfTests>4</totalNumberOfTests>
</event> It shows that the following nodes do not have a description:
This means that instead of aggregating just an |
PhilippSalvisberg
added a commit
that referenced
this issue
Jan 4, 2021
PhilippSalvisberg
added a commit
that referenced
this issue
Jan 4, 2021
This ensures that the description of a child suite is not used for a parent suite when the parent suite does not have a description. This was the root cause of issue #126.
PhilippSalvisberg
added a commit
that referenced
this issue
Jan 4, 2021
PhilippSalvisberg
added a commit
that referenced
this issue
Jan 4, 2021
This ensures that the description of a child suite is not used for a parent suite when the parent suite does not have a description. This was the root cause of issue #126.
PhilippSalvisberg
added a commit
that referenced
this issue
Jan 4, 2021
…ons-b Bugfix #126 - Suite descriptions are not aggregated
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the following test scenario:
Running the following code in the worksheet
produces a result similar to:
In the realtime reporter the result looks like this:
I see the following problems:
suite y
for the nodesfoo
,bar
,y
. It's correct forx
only. For the other nodesfoo
andbar
the description should be aggregated. Either something likesuite y; suite x
(order according position in the tree).Show description (if present)
is not honored for the nodesx
andy
(see also output of the worksheet).suite x
should be shown instead ofx
suite y
should be shown instead ofy
The text was updated successfully, but these errors were encountered: