PartiQLTest

@TestTemplate
@ExtendWith(value = PartiQLTestExtension.class::class)
annotation class PartiQLTest

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 PartiQLTestProvider
2. The PartiQLResult (for performing assertions).

Example Kotlin Usage:

@PartiQLTest(Provider::class)
public fun myTest(tc: CustomPartiQLTestCase, result: PartiQLResult) {
    assert(result.value == PartiQLInt(2))
}

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun provider(): Class<out PartiQLTestProvider>
Link copied to clipboard
abstract fun toString(): String