@@ -344,6 +344,38 @@ end;';
344344 ut.expect(l_actual).to_equal(l_expected);
345345 end;
346346
347+ procedure test_get_suites_info_by_path is
348+ l_expected sys_refcursor;
349+ l_actual sys_refcursor;
350+ begin
351+ --Arrange
352+ open l_expected for
353+ select
354+ 'UT3_USER' object_owner, 'DUMMY_TEST_PACKAGE' object_name, 'DUMMY_TEST_PACKAGE' item_name,
355+ 'dummy_test_suite' item_description, 'UT_SUITE' item_type, 2 item_line_no,
356+ 'some.path.dummy_test_package' path, 0 disabled_flag, null disabled_reason,null tags
357+ from dual union all
358+ select
359+ 'UT3_USER' object_owner, 'DUMMY_TEST_PACKAGE' object_name, 'SOME_DUMMY_TEST_PROCEDURE' item_name,
360+ 'dummy_test' item_description, 'UT_TEST' item_type, 6 item_line_no,
361+ 'some.path.dummy_test_package.some_dummy_test_procedure' path, 0 disabled_flag, null disabled_reason,null tags
362+ from dual union all
363+ select
364+ 'UT3_USER' object_owner, 'PATH' object_name, 'PATH' item_name,
365+ null item_description, 'UT_LOGICAL_SUITE' item_type, null item_line_no,
366+ 'some.path' path, 0 disabled_flag, null disabled_reason, null tags
367+ from dual union all
368+ select
369+ 'UT3_USER' object_owner, 'SOME' object_name, 'SOME' item_name,
370+ null item_description, 'UT_LOGICAL_SUITE' item_type, null item_line_no,
371+ 'some' path, 0 disabled_flag, null disabled_reason, null tags
372+ from dual;
373+ --Act
374+ open l_actual for select * from table(ut3_develop.ut_runner.get_suites_info('ut3_user:some.path.dummy_test_package'));
375+ --Assert
376+ ut.expect(l_actual).to_equal(l_expected);
377+ end;
378+
347379 procedure test_get_reporters_list is
348380 l_expected sys_refcursor;
349381 l_actual sys_refcursor;
0 commit comments