rcd27
10/18/2025, 7:27 PMagents-test. As user of withTesting feature, that took me a while to understand, why this code throwed NPE:
withTesting {
enableGraphTesting = true
}
After looking at sources, realised that this should come with verifyStrategy , this is OK:
withTesting {
verifyStrategy<String,String>("test") {}
enableGraphTesting = true
}
By the way, am I getting it right: I can test my real strategy logic with that?rcd27
10/18/2025, 7:40 PMwithTesting {
verifyStrategy<String,String>("your_real_strategy") {
val firstSubgraph = assertSubgraphByName<String, String>("real_subgraph")
verifySubgraph(firstSubgraph)
}
enableGraphTesting = true
}
Failing with JSONDecoding, supposingly because of nested nodes that use structures as inputs/outputs, not sure yetrcd27
10/18/2025, 7:41 PMverifySubgraph, test will fail with No assertions...rcd27
10/18/2025, 7:53 PMAnastasiia Zarechneva
10/20/2025, 8:17 AM