すべてのオプション
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ ソース: golang-github-erikstmartin-go-testdb  ]

パッケージ: golang-github-erikstmartin-go-testdb-dev (0.0~git20160219.0.8d10e4a-1.1)

golang-github-erikstmartin-go-testdb-dev に関するリンク

Screenshot

Debian の資源:

golang-github-erikstmartin-go-testdb ソースパッケージをダウンロード:

メンテナ:

外部の資源:

類似のパッケージ:

Framework for stubbing responses from go's driver.Driver interface

go-testdb Framework for stubbing responses from go's driver.Driver interface.

This can be used to sit in place of your sql.Db so that you can stub responses for sql calls, and remove database dependencies for your test suite.

This project is in its infancy, but has worked well for all the use cases i've had so far, and continues to evolve as new scenarios are uncovered. Please feel free to send pull-requests, or submit feature requests if you have scenarios that are not accounted for yet. Setup The only thing needed for setup is to include the go-testdb package, then you can create your db connection specifying "testdb" as your driver.

golang-github-erikstmartin-go-testdb-dev のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 7.9 kB49.0 kB [ファイル一覧]