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:
@@ -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
|
||||
Reference in New Issue
Block a user