diff --git a/docs/source/release-notes.rst b/docs/source/release-notes.rst index 67291c790e..029f89a10b 100644 --- a/docs/source/release-notes.rst +++ b/docs/source/release-notes.rst @@ -51,6 +51,26 @@ Security enhancements * The ability to SSH into the standalone shell has been removed * A new read-only RPC user role template has been documented in :doc:`shell` +Changes to integration testing ++++++++++++++++++++++++ + +The "out-of-process" nodes spawned through Driver DSL (see :doc:`tutorial-integration-testing`) will no longer accidentally contain your CorDapps on their application classpath. The list of items that will be automatically filtered out include: + +* Directories (only regular files are allowed) +* Jars with Maven classifiers ``tests`` or ``test`` +* Jars with any Cordapp attributes in their manifests (any of those listed in :doc:`cordapp-build-systems` or ``Target-Platform-Version`` and ``Min-Platform-Version`` if both are present) +* Jars with the ``Corda-Testing`` attribute in their manifests. The manifest of the following artifacts has been updated to include the ``Corda-Testing`` attribute: + + * ``corda-node-driver`` + * ``corda-test-utils`` + * ``corda-test-common`` + * ``corda-test-db`` + * ``corda-mock`` + +* Files whose names start with ``corda-mock``, ``junit``, ``testng`` or ``mockito`` + +Some of your existing integration tests might implicitly be relying on the presence of the above files, so please keep this in mind when upgrading your version of Corda. + Platform version change ~~~~~~~~~~~~~~~~~~~~~~~