proxy.golang.org : github.com/tarmac-project/hord/drivers/mock
Package mock is a Hord database driver used to assist in testing. This package satisfies the Hord database interface and can help applications using a Hord managed database. In using this package, users can create custom functions executed when calling the Database interface methods. Rather than writing a mock for the Hord interface, initialize this driver in place of a standard database driver. This package, by default, offers a happy path for each mocked function. Custom functions only must be defined to alter the default behavior.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/tarmac-project/hord/drivers/mock
Keywords:
bbolt
, cassandra
, nats
, redis
License: Apache-2.0
Latest release: 7 months ago
First release: over 1 year ago
Namespace: github.com/tarmac-project/hord/drivers
Stars: 5 on GitHub
Forks: 1 on GitHub
Total Commits: 232
Committers: 9
Average commits per author: 25.778
Development Distribution Score (DDS): 0.22
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 5 days ago