Project

drydocker

0.0
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Run tests on change in a docker container continuously
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

~> 1.0
~> 2.0
~> 2.0
~> 3.12
~> 3.1
~> 3.5
~> 0.9

Runtime

~> 2.8
~> 1.3
 Project Readme

drydocker

wercker status Code Climate Test Coverage

Drydocker provides a simple wrapper to run tests inside a container every time you make a change to your code. It listens to filesystem changes on your host and runs a docker command every time it detects anything. It is a pre-requisite of use that you have a docker image you can run your tests in.

Installation

Drydocker can be installed as a gem - gem install drydocker (or, on OS X, sudo gem install drydocker)

Usage

When installed as a gem, you will have a drydocker executable. Running with -h will provide up-to-date usage instructions.

Basic usage is to run drydocker in the top level directory of the project you're working on - by default, it will mount that directory into an image that has enough for running rspec installed, and will run rspec spec every time it sees a change in the directory.

You can specify particular images to run in and commands to run at command line if you need to run your tests in a different way or container. Please refer to the output of drydocker -h for more information on the flags to use.

Contributing to drydocker

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
  • Fork the project.
  • Start a feature/bugfix branch.
  • Commit and push until you are happy with your contribution.
  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
  • Create a Pull Request.

Links

Releasing

Checkout the code, make changes, run rake version:bump:minor (see https://github.com/technicalpickles/jeweler#version-bumping for options), git push - wercker will do the rest.

Copyright

Copyright (c) 2015 Kevin Littlejohn. See LICENSE.txt for further details.