Categorygithub.com/tiepp/suspect
modulepackage
0.4.0
Repository: https://github.com/tiepp/suspect.git
Documentation: pkg.go.dev

# README

gopher

Suspect

Supabase integration testing toolset

Features

Requirements

You need to have Supabase CLI installed and configured for your project.

Usage

func Test(t *testing.T) {
    suspect.NewSuspect(t).
        Db(func(db *pgx.Conn) {
            // prepare data
        }).
        Api(func(api *httpexpect.Expect) *httpexpect.Expect {
            // call endpoint
            return api
        }).
        Mail(func(mail *client.Client) {
            // check emails
        })
}

See example

Credits

Gopher mascot is based on original artwork by Renee French.

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author