Skip to content

Conversation

@jamesross03
Copy link
Contributor

@jamesross03 jamesross03 commented Jul 23, 2025

Overview

Migrates unit-tests to utilise the JUnit5 platform instead of the no-longer-supported JUnit4. Also updates dependencies to gain benefits of recent patches (such as a patch to to the breaking glitch when calculating String distance, using utilities.measures package in the IJDPS tests, see #20).

Closes #21, closes #22, closes #25, closes #28

Changelist

Dependencies:

  • Updates common-pom to 4.1.0-SNAPSHOT to take advantage of updated JDK and JUnit dependencies.
  • Update population-records dependency to 1.0.2-SNAPSHOT to take advantage of patches to issues such as corrupt characters breaking the String distance measurements and updates to neo-storr to prevent Swedish characters from becoming corrupt. Also updates transitive dependencies to use Neo4J 5+ for the Neo4J database and driver.
  • Adds JUnit5 dependency.

Refactoring:

  • Refactors linkage functionality to use String data-type instead of long for identification, for compatibility with Neo4J 5+ (transitive dependency updated in population-records 1.0.2-SNAPSHOT).

Testing:

  • Migrates all tests to JUnit5 platform.
  • Moved FelligiSunter tests from main to test.

Documentation:

  • Adds note about containerised setup and link to Docker/README.md to README.md.

jar35 added 9 commits July 23, 2025 14:44
Updates [`population-records`](https://github.com/stacs-srg/population-records) dependency to [`1.0.2-SNAPSHOT`](stacs-srg/population-records#7) to take advantage of patches to issues such as corrupt characters breaking the String distance measurements. See stacs-srg#22
Migrate tests in src/main/test to use JUnit5 instead of, the now unsupported, JUnit4.
Moved BirthParentsMarriage test class to the tests repository.
Updated all linkage code to use `String` datatype for id fields instead
of `long` for compatibility with Neo4J 5+, follows similar changes in
[population-records](stacs-srg/population-records#10)
and [neo-storr](stacs-srg/neo-storr#13). See
issue stacs-srg#26.
Fixes type-errors introduced by updates to dependencies.
Updates [`common-pom`](https://github.com/stacs-srg/common-pom/) to
[`4.1.0-SNAPSHOT`](stacs-srg/common-pom#5) to
take advantage of updated JDK and JUnit dependencies. See stacs-srg#28
@grahamkirby grahamkirby marked this pull request as ready for review September 1, 2025 14:41
@grahamkirby grahamkirby merged commit 21c6a74 into stacs-srg:master Sep 1, 2025
1 of 2 checks passed
@jamesross03 jamesross03 mentioned this pull request Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants