Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultAPIPort = ":8081"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionManager ¶
type ConnectionManager struct { ExporterClient exporter.RecordExporterClient ImporterClient heavymock.HeavymockImporterClient Importer *heavymock.ImporterServer DB *gorm.DB // contains filtered or unexported fields }
struct that represents all connections that can be used throughout integration tests
func (*ConnectionManager) Start ¶
func (c *ConnectionManager) Start(t testing.TB)
Starts GRPC server and initializes connection from GRPC clients
func (*ConnectionManager) StartAPIServer ¶
func (c *ConnectionManager) StartAPIServer(t testing.TB)
start API server
func (*ConnectionManager) StartDB ¶
func (c *ConnectionManager) StartDB(t testing.TB)
run postgres in docker and perform migrations
Click to show internal directories.
Click to hide internal directories.