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

Skip to content

Commit e3a9edd

Browse files
authored
Merge branch 'develop' into allow_multi_before_after_procedures
2 parents 6ac9e77 + 68cb81e commit e3a9edd

60 files changed

Lines changed: 949 additions & 509 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/userguide/annotations.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ We strongly recommend putting package level annotations at the very top of packa
3030
| `--%aftertest(<procedure_name>)` | Procedure | Denotes that mentioned procedure should be executed after the annotated `%test` procedure. |
3131
| `--%rollback(<type>)` | Package/procedure | Defines transaction control. Supported values: `auto`(default) - a savepoint is created before invocation of each "before block" is and a rollback to specific savepoint is issued after each "after" block; `manual` - rollback is never issued automatically. Property can be overridden for child element (test in suite) |
3232
| `--%disabled` | Package/procedure | Used to disable a suite or a test. Disabled suites/tests do not get executed, they are however marked and reported as disabled in a test run. |
33-
| `--%context(<description>)` | Package | Denotes start of a nested context (sub-suite) in a suite package |
33+
| `--%context(<name>)` | Package | Denotes start of a named context (sub-suite) in a suite package |
3434
| `--%endcontext` | Package | Denotes end of a nested context (sub-suite) in a suite package |
3535

3636
### Suite
@@ -863,7 +863,7 @@ In essence, context behaves like a suite within a suite.
863863

864864
Context have following characteristics:
865865
- start with the `--%context` annotation and ends with `--%endcontext`
866-
- can have a name provided a parameter for example `--%context(Remove rooms by name)`
866+
- can have a name provided as parameter for example `--%context(remove_rooms_by_name)`
867867
- when no name is provided for context, the context is names `context_N` where `N` is the number of the context in suite
868868
- can have their own `--%beforeall`, `--%beforeeach`, `--%afterall` and `--%aftereach` procedures
869869
- `--%beforeall`, `--%beforeeach`, `--%afterall` and `--%aftereach` procedures defined at suite level, propagate to context
@@ -945,6 +945,7 @@ create or replace package test_rooms_management is
945945

946946

947947
--%context(remove_rooms_by_name)
948+
--%description(Remove rooms by name)
948949

949950
--%test(Removes a room without content in it)
950951
procedure remove_empty_room;
@@ -957,6 +958,7 @@ create or replace package test_rooms_management is
957958

958959

959960
--%context(add_rooms_content)
961+
--%description(Add content to a room)
960962

961963
--%test(Fails when room name is not valid)
962964
--%throws(-1403)

old_tests/RunAll.sql

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,12 @@ exec ut_coverage.set_develop_mode(true);
7878
@@lib/RunTest.sql ut_output_buffer/send_line.DoesNotSendLineIfNullTextGiven.sql
7979
@@lib/RunTest.sql ut_output_buffer/send_line.SendsALineIntoBufferTable.sql
8080

81-
@@lib/RunTest.sql ut_reporters/ut_coverage_sonar_reporter.AcceptsFileMapping.sql
82-
@@lib/RunTest.sql ut_reporters/ut_coverage_sonar_reporter.BuildsSonarCoverageReport.sql
8381
@@lib/RunTest.sql ut_reporters/ut_documentation_reporter.providesCorrectLineFromStacktrace.sql
84-
@@lib/RunTest.sql ut_reporters/ut_sonar_test_reporter.AcceptsFileMapping.sql
85-
@@lib/RunTest.sql ut_reporters/ut_sonar_test_reporter.ProducesExpectedOutputs.sql
86-
@@lib/RunTest.sql ut_reporters/ut_teamcity_reporter.ProducesExpectedOutputs.sql
87-
@@lib/RunTest.sql ut_reporters/ut_html_reporter.UserOverrideSchemaCoverage.sql
88-
@@lib/RunTest.sql ut_reporters/ut_html_reporter.DefaultSchemaCoverage.sql
8982
@@lib/RunTest.sql ut_reporters/ut_documentation_reporter.reportMultipleWarnings.sql
9083
@@lib/RunTest.sql ut_reporters/ut_documentation_reporter.reportTestTiming.sql
84+
@@lib/RunTest.sql ut_reporters/ut_html_reporter.DefaultSchemaCoverage.sql
85+
@@lib/RunTest.sql ut_reporters/ut_html_reporter.UserOverrideSchemaCoverage.sql
86+
@@lib/RunTest.sql ut_reporters/ut_teamcity_reporter.ProducesExpectedOutputs.sql
9187

9288
@@lib/RunTest.sql ut/ut.run.AcceptsCoverageFileList.sql
9389
@@lib/RunTest.sql ut/ut.run.AcceptsCoverageFileListWithSutePaths.sql

old_tests/ut_reporters/ut_coverage_sonar_reporter.AcceptsFileMapping.sql

Lines changed: 0 additions & 27 deletions
This file was deleted.

old_tests/ut_reporters/ut_coverage_sonar_reporter.BuildsSonarCoverageReport.sql

Lines changed: 0 additions & 20 deletions
This file was deleted.

old_tests/ut_reporters/ut_sonar_test_reporter.AcceptsFileMapping.sql

Lines changed: 0 additions & 38 deletions
This file was deleted.

old_tests/ut_reporters/ut_sonar_test_reporter.ProducesExpectedOutputs.sql

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)