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
@@ -0,0 +1,14 @@
$ mvn test -Dtest=FailingSeedDemoTest -Dlab.demo=fail
[INFO] Running lab.instancio.FailingSeedDemoTest
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
[ERROR] Tests run: 40, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.272 s <<< FAILURE! -- in lab.instancio.FailingSeedDemoTest
[ERROR] lab.instancio.FailingSeedDemoTest.everyAdultGetsADiscount(Person)[32] -- Time elapsed: 0.444 s <<< FAILURE!
org.opentest4j.AssertionFailedError: age 18 should get a discount ==> expected: <true> but was: <false>
[INFO] Results:
[ERROR] Failures:
[ERROR] FailingSeedDemoTest.everyAdultGetsADiscount:31 age 18 should get a discount ==> expected: <true> but was: <false>
[ERROR] Tests run: 40, Failures: 1, Errors: 0, Skipped: 0
lines containing '@Seed' in the whole Maven output: 0