{"modulePath":"github.com/unity-technologies/migrate","version":"v3.5.4+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package testing\n\nPackage testing has the source tests. All source drivers must pass the Test function. This lives in it's own package so it stays a test dependency.\n\n## Functions\n\n```go\nfunc Test(t *testing.T, d source.Driver)\n```\nTest runs tests against source implementations. It assumes that the driver tests has access to the following migrations:\n\nu = up migration, d = down migration, n = version\n\n\t|  1  |  -  |  3  |  4  |  5  |  -  |  7  |\n\t| u d |  -  | u   | u d |   d |  -  | u d |\n\nSee source/stub/stub\\_test.go or source/file/file\\_test.go for an example.\n\n```go\nfunc TestFirst(t *testing.T, d source.Driver)\n```\n\n```go\nfunc TestNext(t *testing.T, d source.Driver)\n```\n\n```go\nfunc TestPrev(t *testing.T, d source.Driver)\n```\n\n```go\nfunc TestReadDown(t *testing.T, d source.Driver)\n```\n\n```go\nfunc TestReadUp(t *testing.T, d source.Driver)\n```\n\n","path":"github.com/unity-technologies/migrate/source/testing","name":"testing","synopsis":"Package testing has the source tests.","isRedistributable":true}
