Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

main_test.go 318B

1234567891011121314151617
  1. package models
  2. import (
  3. "testing"
  4. "github.com/stretchr/testify/assert"
  5. )
  6. // TestFixturesAreConsistent assert that test fixtures are consistent
  7. func TestFixturesAreConsistent(t *testing.T) {
  8. assert.NoError(t, PrepareTestDatabase())
  9. CheckConsistencyForAll(t)
  10. }
  11. func TestMain(m *testing.M) {
  12. MainTest(m, "..")
  13. }