選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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. }