instancio: Instancio 6.1 lab (selectors, settings, seeds, records/sealed/generics, JUnit 6 extension, failing-seed capture)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b4VQVEJWetTT1dYzyJ
This commit is contained in:
2026-10-29 05:51:26 +00:00
co-authored by Claude Sonnet 5.5
parent 9d89323864
commit 11782a7ec3
39 changed files with 1053 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
field(Person.class, "doesNotExist"), first 8 lines:
org.instancio.exception.InstancioApiException:
Error creating an object
-> at lab.instancio.CustomiseTest.lambda$unusedSelectorsAreAnErrorByDefault$0(CustomiseTest.java:138)
Reason: invalid field 'doesNotExist' for class lab.instancio.domain.Person
set(field(Order::status), ..) on an Address graph, first 8 lines:
org.instancio.exception.UnusedSelectorException:
Found unused selectors referenced in the following methods:
-> Unused selector in: set()
1: field(Order::status)
at lab.instancio.CustomiseTest.lambda$unusedSelectorsAreAnErrorByDefault$1(CustomiseTest.java:139)
This error aims to highlight potential problems and help maintain clean test code.
with .lenient() the same call succeeds: true