No commit activity in last 3 years
No release in over 3 years
Easy way to find spec which doesn't clear database after execution
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0
~> 1.3

Runtime

>= 3.0.0
>= 1.0
>= 3.0
 Project Readme

DatabaseLeakFinder Circle CI

Easy way to find problem in specs with uncleared DB data

Installation

Add the following to your Gemfile:

gem 'database_leak_finder'

Usage

Add this line to your spec_helper.rb

config.include DatabaseLeakFinder

Ignoring Tables

You may have some tables that you don't want to report.

Add this line to your spec_helper.rb before config.include DatabaseLeakFinder

DatabaseLeakFinder.config(ignored_tables: [list of tables])

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request