Test::Drive

Gem Version Build Status Dependency Status Code Climate Test Coverage

A simple command-line tool for running a Jenkins test job before pushing code to the remote repo

Installation

$ gem install test-drive

Usage

$ test-drive --help
Usage: test-drive [options] jenkins_url user api_key

A simple command-line tool for running a Jenkins test job before pushing code to the remote repo

v0.0.1

Options:
    -h, --help                       Show command line help
    -f, --file PATCH_FILE            Path to patch file
                                     (default: patch)
    -j, --target-job TARGET_JOB      Jenkins job to be triggered
                                     (default: TestDrive)
        --version                    Show help/version info
        --log-level LEVEL            Set the logging level
                                     (debug|info|warn|error|fatal)
                                     (Default: info)

Arguments:

    jenkins_url
        URL for the Jenkins server
    user
        Jenkins user ID
    api_key
        Jenkins API token

Contributing

  1. Fork it ( https://github.com/[my-github-username]/test-drive/fork )
  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 a new Pull Request