Help us shape the future of Go! Take the 2026 Go Developer Survey

dialecttest

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package dialecttest is the suite every dialect has to pass.

IT EXISTS BEFORE THE SECOND DIALECT DOES, and that is the reason it exists at all. An interface with one implementation is a description of that implementation; the second one added later agrees with it wherever the author happened to look and differs everywhere else, and the difference is found by whoever pointed a project at the other warehouse. Here it is found by `go test`.

It runs against a REAL warehouse and nothing else. Every claim it makes is about what the server did -- a dialect that returns the right strings and builds the wrong thing passes a test of its strings and fails this one.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, d dialect.Dialect, dsn string)

Run is the whole suite. A dialect's own test calls it with a live DSN.

Types

This section is empty.

Jump to

Keyboard shortcuts

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