Suite descriptions are not aggregated · Issue #126 · utPLSQL/utPLSQL-SQLDeveloper
Repository navigation
Suite descriptions are not aggregated #126
New issue
New issue
Closed
#130
Closed
Suite descriptions are not aggregated #126 #130 Assignees PhilippSalvisberg is assigned Labels
bug
Milestone v1.3.1
Description
@PhilippSalvisberg's profile PhilippSalvisberg opened on Jan 4, 2021Consider the following test scenario:
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 yfor the nodesfoo,bar,y. It's correct forxonly. For the other nodesfooandbarthe description should be aggregated. Either something likesuite y; suite x(order according position in the tree). - The option
Show description (if present)is not honored for the nodesxandy(see also output of the worksheet).suite xshould be shown instead ofxsuite yshould be shown instead ofy
Metadata
Metadata
Assignees
Labels
bug