|
1 | 1 | # Release Notes # |
2 | 2 |
|
| 3 | +## 3.4.2 ## |
| 4 | + |
| 5 | +This release provides the following improvements: |
| 6 | + |
| 7 | + * **CLI** |
| 8 | + |
| 9 | + * Unix shell commands simplified by consolidating common steps using the `tcases-exec` command. |
| 10 | + |
| 11 | + * **Tcases for OpenAPI** |
| 12 | + |
| 13 | + * Request test case resolution now produces values that satisfy specified "pattern" assertions. |
| 14 | + [[104](https://github.com/Cornutum/tcases/issues/104)] |
| 15 | + |
| 16 | + * Request test case resolution now produces values that correctly satisfy specified "multipleOf" assertions. |
| 17 | + |
| 18 | + * In certain cases, request test case resolution now produces more useful test cases for "string" and "array" inputs. |
| 19 | + For example, for a "string" that defines a "maxLength" but no "minLength", generated success cases will supply either |
| 20 | + an empty string, a string with the maximum length, or a string with some random length less than the maximum. |
| 21 | + But, in previous versions, that random length might be 0, often producing a duplicate test case. The current |
| 22 | + version fixes that to ensure random lengths are non-zero. The same fix applies also to "array" values that define a |
| 23 | + "maxItems" but no "minItems". |
| 24 | + |
| 25 | + * At least one test case is created for each request defined, even for a request that has no parameters or request body. |
| 26 | + [[132](https://github.com/Cornutum/tcases/issues/132)] |
| 27 | + |
| 28 | + * `api-test` now produces only executable test cases that are uniquely "realizable". Previously, some test cases |
| 29 | + turned out to be either duplicates or infeasible because of the way inputs were serialized into HTTP messages. |
| 30 | + For example, a query parameter value of `null` is indistinguishable from an empty string. Similarly, a test case |
| 31 | + to verify a failure when an query parameter expecting a string value is given a non-string is not actually |
| 32 | + realizable when all inputs are serialized as simple strings. [[133](https://github.com/Cornutum/tcases/issues/133)] |
| 33 | + |
| 34 | + * Upgraded to latest swagger-parser version 2.0.21. |
| 35 | + |
| 36 | + * **Core** |
| 37 | + |
| 38 | + * No more bogus warnings about unused properties for properties that are referenced only by cardinality conditions. |
| 39 | + |
3 | 40 | ## 3.4.1 ## |
4 | 41 |
|
5 | 42 | This is a patch release to fix the following problems. |
|
0 commit comments