You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create or replace package x is
--%suite(suite x)
--%suitepath(foo.bar)
--%test(feature a)
--%disabled
procedure test_a;
--%test(feature b)
--%disabled
procedure test_b;
end;
/
create or replace package y is
--%suite(suite y)
--%suitepath(foo.bar)
--%test(feature c)
--%disabled
procedure test_c;
--%test(feature d)
--%disabled
procedure test_d;
end;
/
Running the following code in the worksheet
set serveroutput on size unlimited
execute ut.run('plscope:foo');
produces a result similar to:
foo
bar
suite y
feature c [0 sec] (DISABLED)
feature d [0 sec] (DISABLED)
suite x
feature a [0 sec] (DISABLED)
feature b [0 sec] (DISABLED)
Finished in .008275 seconds
4 tests, 0 failed, 0 errored, 4 disabled, 0 warning(s)
In the realtime reporter the result looks like this:
I see the following problems:
The suite description is suite y for the nodes foo, bar, y. It's correct for x only. For the other nodes foo and bar the description should be aggregated. Either something like suite y; suite x (order according position in the tree).
The option Show description (if present) is not honored for the nodes x and y (see also output of the worksheet).
Activity
PhilippSalvisberg commentedon Jan 4, 2021
The pre-run event document in this case looks as follows:
It shows that the following nodes do not have a description:
This means that instead of aggregating just an
nullvalue for description would be the better solution. It would reflect the utPLSQL model.add test for to reproduce issue #126
exclude nested elements in XMLtools.getElementNode
add test to reproduce issue #126
exclude nested elements in XMLtools.getElementNode
Merge pull request #130 from utPLSQL/bugfix/issue-126-suite-descripti…