feat: add jqwik property-based coverage for trie and patch invariants
test: add property-based tests for FrequencyTrie determinism across repeated compilation test: verify semantic alignment of get(), getAll(), and getEntries() test: verify binary serialization and compressed persistence round-trip stability test: verify builder reconstruction preserves observable trie behavior test: add property-based tests for PatchCommandEncoder encode/apply round-trip and determinism test: add generated stemmer-trie properties ensuring returned patches reconstruct only acceptable stems test: introduce bounded reusable jqwik generators and scenario builders for maintainable property coverage build: add jqwik to test dependencies and integrate it with the existing JUnit Platform setup test: replace Jupiter display and tag annotations in jqwik suites with jqwik-native metadata to remove discovery warnings
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
#
|
||||
# After changing dependency versions:
|
||||
#
|
||||
# unlock temporarily: LockMode.STRICT -> LockMode.LENIENT
|
||||
#
|
||||
# refresh verification metadata:
|
||||
# ./gradlew --write-verification-metadata sha256 test jmh distZip cyclonedxBom
|
||||
#
|
||||
# run:
|
||||
# ./gradlew --write-locks classes testClasses jmh distZip cyclonedxBom
|
||||
#
|
||||
# if needed, refresh verification metadata:
|
||||
# ./gradlew --write-verification-metadata sha256 test jmh distZip cyclonedxBom
|
||||
#
|
||||
# (optional - for Eclipse IDE)
|
||||
# insert trusted-artifacts into gradle/verification-metadata.xml/verification-metadata/configuration:
|
||||
# <trusted-artifacts>
|
||||
@@ -21,6 +23,7 @@
|
||||
[versions]
|
||||
junit = "5.14.3"
|
||||
mockito = "5.23.0"
|
||||
jqwik = "1.9.3"
|
||||
|
||||
[libraries]
|
||||
junit-bom = { module = "org.junit:junit-bom", version.ref = "junit" }
|
||||
@@ -29,3 +32,5 @@ junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher
|
||||
|
||||
mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockito" }
|
||||
mockito-junit-jupiter = { module = "org.mockito:mockito-junit-jupiter", version.ref = "mockito" }
|
||||
|
||||
jqwik = { module = "net.jqwik:jqwik", version.ref = "jqwik" }
|
||||
|
||||
Reference in New Issue
Block a user