Releases: Cornutum/tcases
Tcases 3.5.1
This release provides improvements to Tcases for OpenAPI when generating API tests using the examples defined in an OpenAPI v3 spec. Specifically, request test cases are generated even if example data is not defined for some request input data items. When example data is not available, request inputs are generated using the default input model source (i.e. based on schema definitions).
Tcases 3.5.0
This release introduces a new capability to Tcases for OpenAPI: generating API tests using the examples defined in an OpenAPI v3 spec. And other improvements, too -- see the release notes for details.
Tcases 3.4.2
This release provides improvements for several Tcases components. See the release notes for details.
Tcases 3.4.1
This is a patch release to fix problems in the Maven plugin and the CLI. See the release notes for details.
Tcases 3.4.0
This release introduces an important new capability for Tcases for OpenAPI: generating an executable test directly from an OpenAPI v3 spec.
You can do this from the command line, using the new tcases-api-test
command, or with the
Tcases Maven Plugin, using the new tcases:api-test
goal. For this release, these commands can automatically create Java tests, runnable with either JUnit or TestNG, that execute all requests using the REST Assured DSL. For all the details, see Running API Test Cases.
For info on other improvements in this release, see the release notes.
Tcases 3.3.0
This release delivers significant improvements to Tcases for OpenAPI.
-
Boolean combinations of schemas: For API inputs defined by boolean combinations of subschemas (using assertions like
allOf
,oneOf
, etc.), defining the proper input space model has always been problematic. In previous versions, the results have been complicated, often inconsistent, and hobbled by several limitations. But in this release, a new implementation produces much better results. In particular, all restrictions on the content and nesting ofnot
assertions have been eliminated. -
Generating request inputs: Can Tcases for OpenAPI automatically generate an executable test program? No, not yet. But this release starts the journey and takes the first step down that road. This release adds options for generating a "request test definition" that "resolves" the model of each test case input into an actual data value.
-
Compatibility: In general, this release is compatible with previous versions, with one key exception. Because of the large-scale improvements listed above, the input models generated by Tcases for OpenAPI, while functionally equivalent to previous releases, are significantly different in form and structure. So, too, are the test models they produce. But unless your usage has dependencies on these details, you should not see any difference in how things work.
Tcases 3.2.1
This release enhances the interfaces for Tcases for OpenAPI by adding support for transforming generated test cases using XSLT, using the same command options used for basic Tcases.
Tcases 3.2.0
This release adds support for Tcases for OpenAPI to the Tcases Maven Plugin. This release also includes additional improvements to the Tcases CLI. See the release notes for details.
Tcases 3.1.2
Tcases for OpenAPI: For more reliable translation of OpenAPI specs, upgraded to use swagger-parser
version 2.0.14.
Tcases 3.1.1
This release adds several improvements to Tcases for OpenAPI. See the release notes for details.