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
Copy file name to clipboardExpand all lines: README.md
+37-14Lines changed: 37 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,29 +3,31 @@
3
3
4
4
# utPLSQL v2 to v3 migration utility
5
5
6
-
This project provides a migration utility to enrich utPLSQL v2 package specification with [utPLSQL v3 annotations](https://utplsql.github.io/utPLSQL/v3.0.0/userguide/annotations.html).
7
-
8
-
## Content
9
-
10
-
This utility contains the following components:
11
-
12
-
- Package `ut_v2_migration`
13
-
- Modified version of `utassert` package from utPLSQL version 2.3.1
14
-
- Modified version of `utassert2` package from utPLSQL version 2.3.1
6
+
This project provides a migration utility to enrich utPLSQL v2 package specification with [utPLSQL v3](https://github.com/utPLSQL/utPLSQL)[annotations](https://utplsql.github.io/utPLSQL/v3.0.0/userguide/annotations.html)
- user executing the installation needs to have following privileges:
25
-
-`create any procedure`
26
-
-`create public synonym`
27
-
-`grant any object privilege`
18
+
- Installation needs to be done from a `SYS` account or as `SYSDBA` as utPLSQL v3 user needs to be granted execute privilege on `UTL_FILE`.
19
+
This is required for installing utPLSQL v2 compatibility within utPLSQL v3.
20
+
21
+
22
+
## Content
28
23
24
+
Migration utility contains the following components:
25
+
26
+
- Package `ut_v2_migration`
27
+
- Modified version of `utassert` package from utPLSQL version 2.3.1
28
+
- Modified version of `utassert2` package from utPLSQL version 2.3.1
29
+
30
+
All of above components are installed into utPLSQL v3 schema, have public synonyms created and are granted to public.
29
31
30
32
## Installation
31
33
@@ -44,5 +46,26 @@ The install script does the following:
44
46
- Creates public synonyms for `utassert` and `utassert2` in utPLSQL v3 schema
45
47
- Grants execute on packages: `ut_v2_migration`, `utassert`, `utassert2` to PUBLIC
46
48
49
+
50
+
# Migration process
51
+
52
+
## Requirements
53
+
54
+
The migration process scans utPLSQL v2 meta-data tables:
55
+
- ut_package
56
+
- ut_suite
57
+
- ut_config
58
+
59
+
In order to be considered by migration process, Unit Test package needs to:
60
+
- be registered in `ut_package` table - this can be done either by manually registering a package or by executing test package using utPLSQL v2 framework
0 commit comments