This PR migrates majority of tests into Kotlin and reorganises the project structure under java-tests.
Changes to tests in details
Apart from conversion to Kotlin, tests were moved under the package io.spine.test with subpackages corresponding to a subsystem under the test.
The test suite classes got the ITest suffix because they are integration tests.
Custom assertions were consolidated under io.spine.validation.assertions.Assertions.kt.
Build changes under java-tests
The modules were reorganised to consolidate majority of tests under the module validating.
The module extra-definitions was renamed to consumer-dependency to clarify the meaning.
Proto types to be validated and Java classes representing custom options and validating rules were moved under testFixtures to separate them from the test code.
This PR migrates majority of tests into Kotlin and reorganises the project structure under
java-tests
.Changes to tests in details
io.spine.test
with subpackages corresponding to a subsystem under the test.ITest
suffix because they are integration tests.io.spine.validation.assertions.Assertions.kt
.Build changes under
java-tests
validating
.extra-definitions
was renamed toconsumer-dependency
to clarify the meaning.testFixtures
to separate them from the test code.