Migration Guide - Qontract to Specmatic
Qontract
has been renamed to Specmatic
.
Here are a few considerations you will need to keep in mind.
.spec
is the new extension for contract files. When using proxy mode, Postman conversion, stub conversion or WSDL conversion, contracts will have the .spec
extension. The .qontract
extension is still supported, so existing contracts do not need to be renamed.
Here is a list of things that have changed.
- The binary is now named
specmatic.jar
.- Any staging environment wrapper scripts referring to
qontract.jar
will now need to refer tospecmatic.jar
. - Local wrappers or aliases referring to
qontract.jar
will need to be updated. - CI scripts referring to
qontract.jar
will need to be updated.
- Any staging environment wrapper scripts referring to
QontractJUnitSupport
has becomeSpecmaticJUnitSupport
.qontract-core
has becomespecmatic-core
.qontract.json
needs to be renamed tospecmatic.json
.- A few XML names have changed (e.g.
qontract_type
is nowspecmatic_type
) so WSDLs may have to be regenerated.