diff --git a/.travis/update_project_version.sh b/.travis/update_project_version.sh index cce45cbfe..3f162fb78 100755 --- a/.travis/update_project_version.sh +++ b/.travis/update_project_version.sh @@ -6,6 +6,9 @@ echo Update version in project source files find ${UTPLSQL_SOURCES_DIR} -type f -name '*' -exec sed -i -r "s/${UTPLSQL_VERSION_PATTERN}/${UTPLSQL_BUILD_VERSION}/" {} \; echo Source files updated with version tag: ${UTPLSQL_BUILD_VERSION} +echo Update version in documentation files +find docs -type f -name '*.md' -exec sed -i -r "s/(badge\/version-).*(-blue\.svg)/\1${UTPLSQL_BUILD_VERSION/-/--}\2/" {} \; + echo Update of sonar-project.properties sonar.projectVersion sed -i -r "s/(sonar\.projectVersion=).*?/\1${UTPLSQL_VERSION}/" sonar-project.properties diff --git a/docs/about/authors.md b/docs/about/authors.md index 76bb24e5f..cb3463d25 100644 --- a/docs/about/authors.md +++ b/docs/about/authors.md @@ -1,3 +1,4 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) ### utPLSQL v3 Major Contributors diff --git a/docs/about/license.md b/docs/about/license.md index aef69c41e..66212bb2e 100644 --- a/docs/about/license.md +++ b/docs/about/license.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # Version Information **utPLSQL version 3** is licensed under diff --git a/docs/about/project-details.md b/docs/about/project-details.md index 3ef58c76c..1b38f3d5f 100644 --- a/docs/about/project-details.md +++ b/docs/about/project-details.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # utPLSQL Project Details [![chat](http://img.shields.io/badge/GitHub_Project-Active-blue.svg)](https://github.com/utPLSQL/utPLSQL) diff --git a/docs/about/support.md b/docs/about/support.md index 579795528..2ee94a403 100644 --- a/docs/about/support.md +++ b/docs/about/support.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # How to get support - Feel free to post questions, bugs or issues in the [issues area of GitHub](https://github.com/utPLSQL/utPLSQL/issues) diff --git a/docs/index.md b/docs/index.md index 96e65c449..dbea7b8a5 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # Introduction to utPLSQL utPLSQL is a Unit Testing framework for Oracle PL/SQL. diff --git a/docs/userguide/advanced_data_comparison.md b/docs/userguide/advanced_data_comparison.md index e1858a6fb..959be9d52 100644 --- a/docs/userguide/advanced_data_comparison.md +++ b/docs/userguide/advanced_data_comparison.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # Advanced data comparison utPLSQL expectations incorporates advanced data comparison options when comparing compound data-types: diff --git a/docs/userguide/annotations.md b/docs/userguide/annotations.md index d9c731b34..332d59b9b 100644 --- a/docs/userguide/annotations.md +++ b/docs/userguide/annotations.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # Annotations Annotations are used to configure tests and suites in a declarative way similar to modern OOP languages. This way, test configuration is stored along with the test logic inside the test package. diff --git a/docs/userguide/best-practices.md b/docs/userguide/best-practices.md index bdfcf99a7..b216d1fcd 100644 --- a/docs/userguide/best-practices.md +++ b/docs/userguide/best-practices.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # Best Practices The following are best practices we at utPLSQL have learned about PL/SQL and Unit Testing. diff --git a/docs/userguide/coverage.md b/docs/userguide/coverage.md index 1d4ca93c5..09c3184e5 100644 --- a/docs/userguide/coverage.md +++ b/docs/userguide/coverage.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # Coverage utPLSQL comes with a built-in coverage reporting engine. The code coverage reporting is based on the DBMS_PROFILER package provided with Oracle database. Code coverage is gathered for the following source types: diff --git a/docs/userguide/exception-reporting.md b/docs/userguide/exception-reporting.md index 852a3f426..3670d9ae3 100644 --- a/docs/userguide/exception-reporting.md +++ b/docs/userguide/exception-reporting.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # Exception handling and reporting The utPLSQL is responsible for handling exceptions wherever they occur in the test run. utPLSQL is trapping most of the exceptions so that the test execution is not affected by individual tests or test packages throwing an exception. diff --git a/docs/userguide/expectations.md b/docs/userguide/expectations.md index 31bc9aef1..5d10492b8 100644 --- a/docs/userguide/expectations.md +++ b/docs/userguide/expectations.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # Expectation concepts Validation of the code under test (the tested logic of procedure/function etc.) is performed by comparing the actual data against the expected data. utPLSQL uses a combination of expectation and matcher to perform the check on the data. diff --git a/docs/userguide/getting-started.md b/docs/userguide/getting-started.md index c5f69ad20..a8c2225fd 100644 --- a/docs/userguide/getting-started.md +++ b/docs/userguide/getting-started.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # Getting started with TDD and utPLSQL utPLSQL is designed in a way that allows you to follow diff --git a/docs/userguide/install.md b/docs/userguide/install.md index c960f93f6..f22d2b6ca 100644 --- a/docs/userguide/install.md +++ b/docs/userguide/install.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # Downloading latest version of utPLSQL To download latest version of utPLSQL from github on both Unix/Linux as well as Windows machines use the below smippets. diff --git a/docs/userguide/querying_suites.md b/docs/userguide/querying_suites.md index 1b1c64185..de3e0e870 100644 --- a/docs/userguide/querying_suites.md +++ b/docs/userguide/querying_suites.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # Qyerying for test suites diff --git a/docs/userguide/reporters.md b/docs/userguide/reporters.md index 6d3e8a326..f1e7e9d82 100644 --- a/docs/userguide/reporters.md +++ b/docs/userguide/reporters.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + utPLSQL provides the following reporting formats. # Documentation reporter diff --git a/docs/userguide/running-unit-tests.md b/docs/userguide/running-unit-tests.md index 39b2d0a7a..174998112 100644 --- a/docs/userguide/running-unit-tests.md +++ b/docs/userguide/running-unit-tests.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # Running tests utPLSQL framework provides two main entry points to run unit tests from within the database: diff --git a/docs/userguide/upgrade.md b/docs/userguide/upgrade.md index 3da76e1f8..1eaae311d 100644 --- a/docs/userguide/upgrade.md +++ b/docs/userguide/upgrade.md @@ -1,3 +1,5 @@ +![version](https://img.shields.io/badge/version-v3.1.4.2223--develop-blue.svg) + # Upgrading from version 2 utPLSQL v3 is a total rewrite of the framework.