Skip to content

Commit 0cb8c39

Browse files
committed
Adding delayed 3.1.0/3.1.1 release announcement
1 parent 7b16b67 commit 0cb8c39

File tree

1 file changed

+77
-0
lines changed

1 file changed

+77
-0
lines changed
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
layout: post
3+
title: "Better late than never"
4+
date: 2018-07-20 21:01:00 +0000
5+
categories: version3
6+
---
7+
8+
9+
# Announcing utPLSQL 3.1.0 and 3.1.1
10+
11+
12+
On April 25th, a major release 3.1.0 of utPLSQL was published on github and the information was not published on our site.
13+
14+
Right after the release two issues were found resulting in bug fixes and release 3.1.1
15+
16+
## Version 3.1.1 bug-fixes
17+
- Block coverage reporting doesn't work on schema other than framework owner (#653)
18+
- Reporter threads timeout and do not produce outputs when running with `utplsql-cli` and idle time exceeds 1 minute (#652)
19+
20+
[Release 3.1.1 download page](https://github.com/utPLSQL/utPLSQL/releases/tag/v3.1.1)
21+
22+
23+
## Version 3.1.0 release notes
24+
25+
**Important Notice**
26+
> **Starting with this release, `utPLSQL-sql-cli` is no longer supported.**
27+
> **Use [`utPLSQL-cli` release 3.1.0](https://github.com/utPLSQL/utPLSQL-cli/releases) or above to interact with this and upcoming versions of utPLSQL.**
28+
29+
### Enhancements
30+
31+
#### Reporting
32+
* Added support for extended block coverage on Oracle 12.2 and above. Coverage reporters will now indicate partly covered lines (where applicable by coverage format).
33+
* Added new `ut_tfs_junit_reporter` for MS Team Foundation Server to support old JUnit xml format
34+
* Added new [coverage reporter](https://github.com/utPLSQL/utPLSQL/blob/develop/docs/userguide/coverage.md) `ut_coverage_cobertura_reporter`
35+
* Fixed compatibility issues with `ut_xunit_reporter`. The reporter now conforms to the format specification.
36+
* Added `ut_junit_reporter` as a base for `ut_xunit_reporter`. The `ut_xunit_reporter` remains active for backward compatibility but is considered depreciated
37+
* Added reporting of differences when comparing cursors, oracle object and table types
38+
* Aligned `ut_documentation_reporter` to display tests annotated`--%disabled` as `DISABLED`
39+
* Added support for reporters that don't provide output to the API (reporters saving data to DB)
40+
* Improved API so that it's possible to support custom reporters from `utPLSQL-java-api` without code changes
41+
42+
#### Annotations
43+
* added [`throws` annotation](https://github.com/utPLSQL/utPLSQL/blob/develop/docs/userguide/annotations.md#throws) to simplify writing tests for code that throws an exception
44+
* added [`context`](https://github.com/utPLSQL/utPLSQL/blob/develop/docs/userguide/annotations.md#context) to enable grouping of tests into sub-suite in a test suite package
45+
* added warnings on invalid/misplaced annotations
46+
* added support for multiple declarations of before/after procedures
47+
* added propagation of rollback type defined on parent suite within suitepath
48+
49+
#### Expectations
50+
* Added [`have_count` matcher](https://github.com/utPLSQL/utPLSQL/blob/develop/docs/userguide/expectations.md#have_count) for checking cursor rows/collection elements count
51+
* Added [`include()` and `exclude()` extensions](https://github.com/utPLSQL/utPLSQL/blob/develop/docs/userguide/advanced_data_comparison.md#excluding-elements-from-data-comparison) to cursor and object/collection data comparison
52+
* Added [`diff` functionality](https://github.com/utPLSQL/utPLSQL/blob/develop/docs/userguide/expectations.md#diff-functionality-for-compound-data-types) for cursor, object and collection data
53+
* When comparing cursors, column data-type is now also checked for equality
54+
* Changed behavior of execution of `ut.expect()` on closed cursor (#548)
55+
* Added support for cursors with implicitly named columns
56+
57+
#### General improvements
58+
* Output buffer for reporting is now reporter-agnostic.
59+
* cli is no longer not interacting with output buffer but uses reporters to retrieve data instead.
60+
* Added ability to mark expectation syntax as deprecated and report warnings on deprecation
61+
* Added ability to get a list of annotations for a schema
62+
* Refactoring of annotation parsing
63+
* Refactoring of suite building
64+
* Migrated part of old script-based tests to new utPLSQL v3 tests
65+
* Documentation fixes and improvements
66+
* Reporters now provide a method to get description
67+
* Test execution continues even when encountered `Existing state of packages was discarded/invalidated` exceptions (`ORA-04068`/`ORA-04061`). The whole suite will execute, test result reports will be available and the exception will be re-thrown to the user after the run was finished. (#504)
68+
69+
### Bug-fixes
70+
* Coverage schema had to be explicitly provided, even when using `a_include_objects` (#511)
71+
* utPLSQL fails to run, when one of suite packages has no newline between `--%suite` and procedure-specific annotations. (#514 / #516)
72+
* Fixed false-negative code coverage reporting on labelled `end loop ` elements (#539)
73+
* Fixed issue with invalid suite grouping when running `xunit_reporter` (#547)
74+
* Code coverage was always showing first report gathered in a session (#562)
75+
* Wrong format of time in XUnit_reporter when running on German locale (using comma as decimal separator) (#572)
76+
* Fixed issue with wrong exception getting thrown when suite failed and there was a pending distributed transaction (#601)
77+
* Fixed file-mapper issue where two files were mapped into the same object and caused `ORA-00001: unique constraint (UTP3.UT_COVERAGE_SOURCES_TMP_PK) violated` (#568)

0 commit comments

Comments
 (0)