From e7fba34d34c2093ad024cd4cec60145f8d785f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Thu, 19 Jul 2018 01:01:03 +0100 Subject: [PATCH 1/9] Update VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 82228f380..d95827c3d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v3.1.2-develop +v3.1.2 From fa9de566d52f15e1b09268002bfd9572ed70c72f Mon Sep 17 00:00:00 2001 From: Jacek Gebal Date: Thu, 19 Jul 2018 01:29:50 +0100 Subject: [PATCH 2/9] Fixed flaky test. --- test/core/test_output_buffer.pkb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/core/test_output_buffer.pkb b/test/core/test_output_buffer.pkb index 051293c60..a22f3772d 100644 --- a/test/core/test_output_buffer.pkb +++ b/test/core/test_output_buffer.pkb @@ -60,7 +60,7 @@ create or replace package body test_output_buffer is l_duration := localtimestamp - l_start; ut.expect(l_result).to_equal(l_expected); - ut.expect(l_duration).to_be_greater_than(interval '1' second); + ut.expect(l_duration).to_be_greater_than(interval '0.99' second); select count(1) into l_remaining from ut3.ut_output_buffer_tmp where output_id = l_buffer.output_id; ut.expect(l_remaining).to_equal(0); From 5bac98e0c87ffc01db6f646a04346b70eea5bf93 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Thu, 19 Jul 2018 00:50:52 +0000 Subject: [PATCH 3/9] Updated project version after build [skip ci] --- sonar-project.properties | 2 +- source/core/ut_utils.pks | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-project.properties b/sonar-project.properties index 48e6fee2a..a2139b3fe 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -2,7 +2,7 @@ sonar.projectKey=utPLSQL # this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1. sonar.projectName=utPLSQL -sonar.projectVersion=v3.1.2-develop +sonar.projectVersion=v3.1.2 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. # Since SonarQube 4.2, this property is optional if sonar.modules is set. diff --git a/source/core/ut_utils.pks b/source/core/ut_utils.pks index c672b1576..026448a94 100644 --- a/source/core/ut_utils.pks +++ b/source/core/ut_utils.pks @@ -21,7 +21,7 @@ create or replace package ut_utils authid definer is * */ - gc_version constant varchar2(50) := 'v3.1.2.2125-develop'; + gc_version constant varchar2(50) := 'v3.1.2.2127'; /* Constants: Event names */ subtype t_event_name is varchar2(30); From b69c89b37ff9842703c1110e17cbc34515004ec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Thu, 19 Jul 2018 21:53:18 +0100 Subject: [PATCH 4/9] Update annotations.md --- docs/userguide/annotations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/userguide/annotations.md b/docs/userguide/annotations.md index a6e8ea71b..3b8f0a9dd 100644 --- a/docs/userguide/annotations.md +++ b/docs/userguide/annotations.md @@ -21,7 +21,7 @@ We strongly recommend putting package level annotations at the very top of packa | `--%suitepath()` | Package | Similar to java package. The annotation allows logical grouping of suites into hierarchies. | | `--%displayname()` | Package/procedure | Human-readable and meaningful description of a suite/test. `%displayname(Name of the suite/test)`. The annotation is provided for flexibility and convenience only. It has exactly the same meaning as `` in `test` and `suite` annotations. If description is provided using both `suite`/`test` and `displayname`, then the one defined as last takes precedence. | | `--%test()` | Procedure | Denotes that the annotated procedure is a unit test procedure. Optional test description can by provided (see `displayname`). | -| `--%throws([,...])`| Procedure | Denotes that the annotated test procedure must throw one of the exceptions provided. Supported forms of exceptions are: numeric literals, numeric contant names, exception constant names, predefined Oracle exception names. | +| `--%throws([,...])`| Procedure | Denotes that the annotated test procedure must throw one of the exceptions provided. Supported forms of exceptions are: numeric literals, numeric contant names, exception constant names, predefined Oracle exception names. | | `--%beforeall` | Procedure | Denotes that the annotated procedure should be executed once before all elements of the suite. | | `--%beforeall([[.].][,...])` | Package | Denotes that the mentioned procedure(s) should be executed once before all elements of the suite. | | `--%afterall` | Procedure | Denotes that the annotated procedure should be executed once after all elements of the suite. | From f09ad29d3d7c611af48c7b35012b6da4549ee62c Mon Sep 17 00:00:00 2001 From: Travis CI Date: Thu, 19 Jul 2018 21:15:58 +0000 Subject: [PATCH 5/9] Updated project version after build [skip ci] --- source/core/ut_utils.pks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/ut_utils.pks b/source/core/ut_utils.pks index 026448a94..3bd5cf40e 100644 --- a/source/core/ut_utils.pks +++ b/source/core/ut_utils.pks @@ -21,7 +21,7 @@ create or replace package ut_utils authid definer is * */ - gc_version constant varchar2(50) := 'v3.1.2.2127'; + gc_version constant varchar2(50) := 'v3.1.2.2128'; /* Constants: Event names */ subtype t_event_name is varchar2(30); From 5c02105ec31aa15f6621fdabbbe51f481a5553d8 Mon Sep 17 00:00:00 2001 From: Jacek Gebal Date: Fri, 20 Jul 2018 21:14:28 +0100 Subject: [PATCH 6/9] Updated lints to cheat-sheets. --- docs/index.md | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 781048235..693c8076b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -16,7 +16,7 @@ The framework follows industry standards and best patterns of modern Unit Testin - [Using reporters](userguide/reporters.md) - [Reporting errors](userguide/exception-reporting.md) - [Code coverage](userguide/coverage.md) - - [Cheat-sheet](https://www.cheatography.com/jgebal/cheat-sheets/utplsql-v3/#downloads) + - [Cheat-sheet](https://www.cheatography.com/jgebal/cheat-sheets/utplsql-v3-1-2/#downloads) - About - [Project Details](about/project-details.md) - [License](about/license.md) diff --git a/readme.md b/readme.md index 18cc50f3b..16e68d5a0 100644 --- a/readme.md +++ b/readme.md @@ -45,7 +45,7 @@ Published releases are available for download on the [utPLSQL GitHub Releases Pa Full documentation of the project is automatically published on [utPLSQL github pages](https://utplsql.github.io/utPLSQL/) -[Cheat-sheet](https://www.cheatography.com/jgebal/cheat-sheets/utplsql-v3/#downloads) +[Cheat-sheets](https://www.cheatography.com/jgebal/lists/utplsql-v3-cheat-sheets/) # Installation From fb4821324c512949e528f12c55d6c157cf909843 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 20 Jul 2018 20:36:59 +0000 Subject: [PATCH 7/9] Updated project version after build [skip ci] --- source/core/ut_utils.pks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/ut_utils.pks b/source/core/ut_utils.pks index 3bd5cf40e..ac101044c 100644 --- a/source/core/ut_utils.pks +++ b/source/core/ut_utils.pks @@ -21,7 +21,7 @@ create or replace package ut_utils authid definer is * */ - gc_version constant varchar2(50) := 'v3.1.2.2128'; + gc_version constant varchar2(50) := 'v3.1.2.2129'; /* Constants: Event names */ subtype t_event_name is varchar2(30); From 05ea7d453ad28416587e09d386f8fbb995bc71ad Mon Sep 17 00:00:00 2001 From: Jacek Gebal Date: Sun, 22 Jul 2018 10:16:08 +0100 Subject: [PATCH 8/9] Updated `releasing.md` --- development/releasing.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/development/releasing.md b/development/releasing.md index 44fe4914c..added5a92 100644 --- a/development/releasing.md +++ b/development/releasing.md @@ -4,17 +4,19 @@ With every build, the build process on Travis updates files with an appropriate This step is performed, to confirm that the update of versions works properly. To create a release: - - create release branch and wait for release build to complete successfully - - merge release branch to master and wait for master build to complete successfully - - create a release from the master branch using github web page and populate release description using information found on the issues and pull requests for release + - create release branch from development branch and make sure to name the release branch: `release/vX.Y.Z` + - update, commit and push at least one file change in the release branch, to kickoff a Travis build + - wait for th build to complete successfully + - merge the release branch to master and wait for master build to complete successfully + - create a release from the master branch using [github releases page](https://github.com/utPLSQL/utPLSQL/releases) and populate release description using information found on the issues and pull requests since previous release. + To find issues closed after certain date use [advanced filters](https://help.github.com/articles/searching-issues-and-pull-requests/#search-by-open-or-closed-state) The following will happen: - - build executed on branch `release/v1.2.3-[something]` updates files `sonar-project.properties`, `VERSION` with project version derived from the release branch name + - build executed on branch `release/vX.Y.Z-[something]` updates files `sonar-project.properties`, `VERSION` with project version derived from the release branch name - changes to those two files are committed and pushed back to release branch by Travis - when a release is created, a new tag is added in on the repository and a tag build is executed - the documentation for new release is published on `utplsql.github.io` and installation archives are added to the tag. Note: -The released version does not provide access to un-versioned source files (the default zip file from GitHub is empty). The sources for release are provided in separate zip files delivered from the Travis build process. -This is because we do not keep version in our source files in develop branch. +The built zip files include HTML documentation generated from MD files. From 1bdb86c65400fd63a3a0d0d34a0b3e265fee58b6 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Sun, 22 Jul 2018 09:37:23 +0000 Subject: [PATCH 9/9] Updated project version after build [skip ci] --- source/core/ut_utils.pks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/ut_utils.pks b/source/core/ut_utils.pks index ac101044c..847c57fd8 100644 --- a/source/core/ut_utils.pks +++ b/source/core/ut_utils.pks @@ -21,7 +21,7 @@ create or replace package ut_utils authid definer is * */ - gc_version constant varchar2(50) := 'v3.1.2.2129'; + gc_version constant varchar2(50) := 'v3.1.2.2130'; /* Constants: Event names */ subtype t_event_name is varchar2(30);