Giter Site home page Giter Site logo

alviner / drillerfy Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 75 KB

Go Database Testing Simplified

Home Page: https://pkg.go.dev/github.com/Alviner/drillerfy

License: MIT License

Makefile 0.89% Go 99.11%
golang postgresql testing migrations database database-migrations go toolkit

drillerfy's Introduction

Drillerfy: Go Database Testing Simplified

CI Go Reference Go Report Card

Overview

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.

Features

  • Easy setup and teardown of databases.
  • Easy migrations stairway tests.
  • Support for multiple database engines.

Installation

go get github.com/Alviner/drillerfy

Usage

Database Module

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

Example

Migrations Module

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.

Example

Contributing

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.

License

Drillerfy is released under the MIT License. See the LICENSE file in the repository for full license text.

Authors

Drillerfy was created and is maintained by Alviner. Contributions from the community are appreciated.

Repo activity

Alt

drillerfy's People

Contributors

alviner avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.