PartiQLTestProvider

interface PartiQLTestProvider

Provides test cases (getTestCases) for a particular PartiQL statement. This is used by the PartiQLTest annotation to test PartiQL source and generate coverage reports. Each PartiQLTestProvider should represent a single PartiQL statement and all of its associated tests.

Functions

Link copied to clipboard
abstract fun getPipelineBuilder(): CompilerPipeline.Builder?

If this function returns a non-null CompilerPipeline.Builder, the PartiQLTest annotation will use the builder to build a CompilerPipeline with coverage statistics enabled. If this is specified to be null, the default CompilerPipeline.builder will be used.

Link copied to clipboard
abstract fun getTestCases(): Iterable<PartiQLTestCase>

Test cases to test the PartiQL statement.

Properties

Link copied to clipboard
abstract val statement: String

The PartiQL statement to test.