Open stuebingerb opened 2 weeks ago
Currently, validations in test functions are implemented in different ways:
invoking { deserialize(schema.executeBlocking("{b{id, name, age}}")) } shouldThrow GraphQLError::class withMessage "Property id on B does not exist"
expect<IllegalAccessException>("ILLEGAL ACCESS") { schema.executeBlocking("{black_mamba {item}}", context = context { +"LAKERS" }).also(::println) }
assertThat(scenarioType["author"], nullValue())
This makes it unnecessarily complex and hard to maintain and should be consolidated, ideally towards a single, kotlin-native test library.
Ideas for alternatives:
Currently, validations in test functions are implemented in different ways:
This makes it unnecessarily complex and hard to maintain and should be consolidated, ideally towards a single, kotlin-native test library.
Ideas for alternatives: