Documentation ¶
Index ¶
- Variables
- func CheckUpdateFlag(t *testing.T, fixture string, actual string)
- func ExpectContains(t *testing.T, s, subString string)
- func ExpectEquals(t *testing.T, actual interface{}, expected interface{})
- func ExpectEqualsGolden(t *testing.T, fixture string, actual string)
- func ExpectError(t *testing.T, err error)
- func FailTestIfErr(t *testing.T, err error)
- func OpenFixture(t *testing.T, fixtureFileName string) *os.File
- func ReadCSVFixture(t *testing.T, fixtureFileName string) [][]string
- func UTCDate(t *testing.T, year int, month time.Month, day int) time.Time
- type BadWriter
Constants ¶
This section is empty.
Variables ¶
View Source
var CSVTransactionsPath = filepath.Join(TransactionsPath, "csv")
View Source
var MongoURI = "mongodb://localhost"
View Source
var TransactionsPath = filepath.Join("fixtures", "transactions")
View Source
var XLSXTransactionsPath = filepath.Join(TransactionsPath, "xlsx")
Functions ¶
func ExpectContains ¶
func ExpectEquals ¶
func ExpectError ¶
func FailTestIfErr ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.