Parti QLTest
@TestTemplate
@ExtendWith(value = PartiQLTestExtension.class::class )
Content copied to clipboard
Marks test methods as PartiQL Tests. Must use JUnit5 to run tests.
The test method must have two parameters:
1. The PartiQLTestCase representing a test case provided by the PartiQLTestProviderContent copied to clipboard
2. The PartiQLResult (for performing assertions).Content copied to clipboard
Example Kotlin Usage:
@PartiQLTest(Provider::class)
public fun myTest(tc: CustomPartiQLTestCase, result: PartiQLResult) {
assert(result.value == PartiQLInt(2))
}
Content copied to clipboard