Is it possible to write a migration test between 2 different NPL versions that contain a breaking change?
Docs Reference - Testing migrations - Noumena Documentation
Context
I would like to write a migration test between NPL versions 2025.1.9 and 2025.2.0. Ideally in-memory but I can switch to persistent if necessary. The party model breaking change is in between these versions.
When I run my current test I get this error on calls to the function partyOf()
com.noumenadigital.npl.lang.ArgumentArityErrorException: E0035: Provided 2 arguments, but expected 1
I’m guessing because the migration test is running at version 2025.2.0but I need to setup NPL code at version 2025.1.9.
Can I change versions if I’m using the MigrationInMemoryTestConfiguration?
I guess I can useMigrationDBTestConfigurationand pre-load the engine database with NPL at version 2025.1.9?