Migration Guide
Migration to 0.4.7
-
in 0.4.7 we’ve fixed package name (coderate to codearte) so you’ve to do the same in your projects. This means replacing
withio.coderate.accurest.dsl.GroovyDslio.codearte.accurest.dsl.GroovyDsl
Migration to 1.0.0-RC1
-
from 1.0.0 we’re distinguish ignored contracts from excluded contracts:
-
excludedFilespattern tells Accurest to skip processing those files at all -
ignoredFilespattern tells Accurest to generate contracts and tests, but tests will be marked as@Ignore -
from 1.0.0 the
basePackageForTestsbehaviour has changed -
prior to the change all DSL files had to be under
contractsDslDir/basePackageForTests/subpackage resulting inbasePackageForTests.subpackage test package creation -
now all DSL files have to be under
contractsDslDir/subpackage resulting inbasePackageForTests.subpackage test package creation -
If you don’t migrate to the new approach you will have your tests under
contractsDslDir.contractsDslDir.subpackage
Migration to {messaging_version}
-
from {messaging_version} we’re setting JUnit as a default testing utility. You have to pass the following option to keep Spock as your first choice:
targetFramework = 'Spock'