testutil

package
v0.0.0-...-abb50dc Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DropAll

func DropAll(t *testing.T, client *ent.Client)

DropAll drops all data from database.

func DropUser

func DropUser(t *testing.T, client *ent.Client)

DropUser drops data from users.

func NewDBClient

func NewDBClient(t *testing.T) *ent.Client

NewDBClient loads database for test.

func ReadConfig

func ReadConfig()

ReadConfig reads config file for test.

func ReadConfigE2E

func ReadConfigE2E()

ReadConfigE2E reads config file for e2e.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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