Drillerfy is a Go package designed to simplify database testing. It provides a streamlined approach for setting up and tearing down databases, making it easier to test Go applications that interact with databases.
- Easy setup and teardown of databases.
- Easy migrations stairway tests.
- Support for multiple database engines.
go get github.com/Alviner/drillerfy
Provides functionality to easily create and drop databases. This is particularly useful in testing environments where you need to set up a fresh database instance for each test run and clean it up afterward.
Inspired by sqlalchemy-utils
Provides functionality to easily run stairway tests for migrations via goose Provider. This module simplifies the process of applying and reverting database schema changes, which is essential in maintaining consistent database states for testing.
Contributions to Drillerfy are welcome. Please read the contributing guidelines in the repository for instructions on how to submit pull requests, report issues, and suggest enhancements.
Drillerfy is released under the MIT License. See the LICENSE file in the repository for full license text.
Drillerfy was created and is maintained by Alviner. Contributions from the community are appreciated.