Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GracefulShutdown ¶
func GracefulShutdown()
GracefulShutdown is used to signal the user application to exit when SIGTERM is triggered from keploy test cmd. This function call can be used when the go application have not employed a graceful shutdown mechanism.
func KillProcessOnPort ¶
func KillProcessOnPort()
Types ¶
type Config ¶
type Config struct { Mode Mode // Keploy mode on which unit test will run. Possible values: MODE_TEST or MODE_RECORD. Default: MODE_TEST Name string // Name to record the mock or test the mocks Path string // Path in which Keploy "/mocks" will be generated. Default: current working directroy. MuteKeployLogs bool Delay int }
Click to show internal directories.
Click to hide internal directories.