sqltest

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package sqltest contains helper functions for driver integration tests of the xk6-sql extension.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunScript

func RunScript(t *testing.T, driver string, connection string, script string) sobek.Value

RunScript executes JavaScript code in a specially initialized interpreter. The "sql" variable contains the xk6-sql module, the "driver" variable contains the Symbol identifying the driver, and the "connection" variable contains the database connection string.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL