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

Skip to content

Commit 4be8465

Browse files
authored
Merge pull request #1063 from utPLSQL/feature/install_doc_update
Restructuring utPSLQL install guide.
2 parents 2689052 + 62ef235 commit 4be8465

1 file changed

Lines changed: 44 additions & 27 deletions

File tree

docs/userguide/install.md

Lines changed: 44 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,36 @@
11
![version](https://img.shields.io/badge/version-v3.1.11.3367--develop-blue.svg)
22

3-
# Downloading latest version of utPLSQL
3+
# Supported database versions
4+
5+
utPLSQL is continuously tested against following versions of Oracle databases
6+
* 11g R2
7+
* 12c
8+
* 12c R2
9+
* 18c
10+
* 19c
11+
12+
We do our best to assure full compatibility with supported versions of Oracle databases [See](http://www.oracle.com/us/support/library/lifetime-support-technology-069183.pdf#page=6)
13+
14+
# Downloading utPLSQL
15+
16+
## Manual download
17+
18+
- Go to GitHub releases page for utPLSQL [`https://github.com/utPLSQL/utPLSQL/releases`](https://github.com/utPLSQL/utPLSQL/releases)
19+
- Choose the version to download - latest is always greatest
20+
- Download one of files
21+
- utPLSQL.tar.gz
22+
- utPLSQL.zip
23+
24+
The files have identical content but use different compression (tar / zip ) so choose whichever you prefer depending on your platform (Win/Mac/Unix/Linux).
25+
426

5-
To download latest version of utPLSQL from github on both Unix/Linux as well as Windows machines use the below snippets.
27+
## Scripted download of latest utPLSQL version
628

7-
## Unix/Linux
29+
The below snippets can be used to download latest version of utPLSQL from github releases.
30+
31+
After downloading follow the installation instructions in next sections of this document.
32+
33+
### Unix/Linux
834

935
```bash
1036
#!/bin/bash
@@ -22,7 +48,7 @@ You may download with a one-liner if that is more convenient.
2248
curl -LOk $(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/latest | awk '/browser_download_url/ { print $2 }' | grep ".zip\"" | sed 's/"//g')
2349
```
2450

25-
## Windows
51+
### Windows
2652

2753
To run the script on windows you will need [PowerShell 3.0](https://blogs.technet.microsoft.com/heyscriptingguy/2013/06/02/weekend-scripter-install-powershell-3-0-on-windows-7/) or above.
2854
You will also need .NET 4.0 Framework or above.
@@ -51,29 +77,6 @@ foreach ($i in $urlList) {
5177
}
5278
```
5379

54-
# Checking environment and utPLSQL version
55-
56-
To check the framework version execute the following query:
57-
```sql
58-
select substr(ut.version(),1,60) as ut_version from dual;
59-
```
60-
61-
Additionally you may retrieve more information about your environment by executing the following query:
62-
```sql
63-
select
64-
xmlserialize( content xmltype(ut_run_info()) as clob indent size = 2 )
65-
from dual;
66-
```
67-
68-
# Supported database versions
69-
70-
The utPLSQL may be installed on any supported version of Oracle Database [see](http://www.oracle.com/us/support/library/lifetime-support-technology-069183.pdf#page=6)
71-
* 11g R2
72-
* 12c
73-
* 12c R2
74-
* 18c
75-
* 19c
76-
7780
# Headless installation
7881

7982
utPLSQL can be installed with DDL trigger, to enable tracking of DDL changes to your unit test packages.
@@ -235,6 +238,20 @@ The following tools that support the SQL*Plus commands can be used to run the in
235238
- [SQLcl](http://www.oracle.com/technetwork/developer-tools/sqlcl/overview/index.html)
236239
- [Oracle SQL Developer](http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html)
237240

241+
# Checking environment and utPLSQL version
242+
243+
To check the framework version execute the following query:
244+
```sql
245+
select substr(ut.version(),1,60) as ut_version from dual;
246+
```
247+
248+
Additionally you may retrieve more information about your environment by executing the following query:
249+
```sql
250+
select
251+
xmlserialize( content xmltype(ut_run_info()) as clob indent size = 2 )
252+
from dual;
253+
```
254+
238255
# Additional requirements
239256

240257
In order to use the Code Coverage functionality of utPLSQL, users executing the tests must have the CREATE privilege on the PLSQL code that the coverage is gathered on.

0 commit comments

Comments
 (0)