Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
b1f6323
Initial, incomplete version of reporter
PhilippSalvisberg Dec 17, 2018
e83eeaf
added grants ans synonyms for ut_sqldev_reporter
PhilippSalvisberg Dec 17, 2018
99c1d31
rename ut_sqldev_reporter to ut_realtime_reporter
PhilippSalvisberg Dec 27, 2018
6531e08
add initial test suite for ut_realtime_reporter
PhilippSalvisberg Dec 28, 2018
28a1a73
install test_realtime_reporter
PhilippSalvisberg Dec 28, 2018
010b8fd
add ut_realtime_reporter to list of core reporters
PhilippSalvisberg Dec 28, 2018
9e79e6f
use print_xml_fragment for pretty printing
PhilippSalvisberg Dec 28, 2018
4b29c56
changed formatting and comments
PhilippSalvisberg Dec 28, 2018
2f22a89
new XML report format, using XML attributes for id only
PhilippSalvisberg Dec 28, 2018
d45c88c
extended unit test, reasonable coverage, helps understanding the repo…
PhilippSalvisberg Dec 28, 2018
b37b188
enable drop of test packages
PhilippSalvisberg Dec 28, 2018
8c1c561
remove hard-coded owner ut3_tester
PhilippSalvisberg Dec 28, 2018
bcf1606
make complete event a.s.a.p. visible in consuming session
PhilippSalvisberg Dec 28, 2018
d4b09c7
fix incompatibility to 12.1
PhilippSalvisberg Dec 29, 2018
c2cc292
Fixed typos in comments and made comments more precise.
PhilippSalvisberg Dec 29, 2018
0c6a0ad
get_description synchronized with type specification.
PhilippSalvisberg Dec 29, 2018
7134f13
use print_end_node to close tags
PhilippSalvisberg Dec 29, 2018
2577566
removed duplicate line feed
PhilippSalvisberg Dec 29, 2018
1672248
removed duplicate line feed
PhilippSalvisberg Dec 29, 2018
42cf8ee
change description of the tests to reflect the requirements as sugges…
PhilippSalvisberg Dec 29, 2018
6512cf8
replace granular self.print_text_lines calls with a few self.print_te…
PhilippSalvisberg Dec 29, 2018
c1273af
added text_xmltype_list collection type for test_realtime_reporter
PhilippSalvisberg Dec 29, 2018
b05760d
install new collection type test_xmltype_list for test_realtime_reporter
PhilippSalvisberg Dec 29, 2018
93e4ea8
add xml_header attribute, used for each produced document
PhilippSalvisberg Dec 29, 2018
290ca30
replace hard-coded id attribute with name and value for an optional a…
PhilippSalvisberg Dec 29, 2018
e570e48
produce an XML document for each event resulting in a new output stru…
PhilippSalvisberg Dec 29, 2018
17ed198
changed name and description to match new output structure
PhilippSalvisberg Dec 29, 2018
eef5938
test 26 event-based XML documents produced by the revised reporter
PhilippSalvisberg Dec 29, 2018
eba2e9e
change comment to reflect new role of the member procedure
PhilippSalvisberg Dec 30, 2018
8f5b736
Added `item_type` attribute to output buffer.
jgebal Dec 30, 2018
e02d238
Added `item_type` attribute to output reporters.
jgebal Dec 30, 2018
fc0f0e9
Fixed failing examples.
jgebal Dec 30, 2018
fb96511
create object type and collection type for test_realtime_reporter
PhilippSalvisberg Dec 31, 2018
957e5c9
produce 1 row per event document using new output buffer
PhilippSalvisberg Dec 31, 2018
f992193
renamed package persistent variable
PhilippSalvisberg Dec 31, 2018
576b8ea
Fix crash due to null value.
PhilippSalvisberg Dec 31, 2018
73669eb
Fixed issues with nested runs
PhilippSalvisberg Jan 1, 2019
cc3a7e4
Extracted duplicated code from pipelined functions into `get_report_o…
jgebal Jan 1, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change description of the tests to reflect the requirements as sugges…
…ted by jgebal
  • Loading branch information
PhilippSalvisberg committed Dec 29, 2018
commit 42cf8ee11f120ccbce2dadce7b864943d209df37
24 changes: 12 additions & 12 deletions test/core/reporters/test_realtime_reporter.pks
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,40 @@ create or replace package test_realtime_reporter as
--%beforeall
procedure create_test_suites_and_run;

--%test(Check XML report structure)
--%test(Provide a report structure with pre-run information and event based messages per suite and per test)
procedure xml_report_structure;

--%test(Check total number of tests)
--%test(Provide the total number of tests as part of the pre-run information structure)
procedure total_number_of_tests;

--%test(Check escaped characters in test suite description)
--%test(Escape special characters in data such as the test suite description)
procedure escaped_characters;

--%test(Check number of startTestEvent nodes)
--%test(Provide a startTestEvent node before starting a test with testNumber and totalNumberOfTests)
procedure number_of_starttestevent_nodes;

--%test(Check testNumber and totalNumberOfTests in endTestEvent nodes)
--%test(Provide a endTestEvent node after completion of a test with test results)
procedure endtestevent_nodes;

--%test(Check expectation message for a failed test)
--%test(Provide expectation message for a failed test)
procedure single_failed_message;

--%test(Check existence of multiple expectation messages for a failed test)
--%test(Provide expectation messages for each failed assertion of a failed test)
procedure multiple_failed_messages;

--%test(Check for serveroutput of test)
--%test(Provide dbms_output produced in a test)
procedure serveroutput_of_test;

--%test(Check for serveroutput of testsuite)
--%test(Provide dbms_output produced in a testsuite)
procedure serveroutput_of_testsuite;

--%test(Check for error stack of test)
--%test(Provide the error stack of a test)
procedure error_stack_of_test;

--%test(Check for error stack of testsuite)
--%test(Provide the error stack of a testsuite)
procedure error_stack_of_testsuite;

--%test(Check description of reporter)
--%test(Provide a description of the reporter explaining the use for SQL Developer)
procedure get_description;

--%afterall
Expand Down