Coder Social home page Coder Social logo

uberalls's Introduction

uberalls Build Status Coverage Status

Code coverage metric storage service. Provide coverage metrics on differentials with Phabricator and Jenkins, just like Coveralls does for GitHub and TravisCI.

Running

Configure your database by editing config/default.json or specify a different file by passing an UBERALLS_CONFIG environment variable. The development and test runs use a SQLite database.

If you'd like to use MySQL, you could use the following configuration:

{
  "dbType": "mysql",
  "dbLocation": "user:password@/dbname?charset=utf8",
  "listenPort": 8080,
  "listenAddress": "0.0.0.0"
}

Jenkins integration

Uberalls works best when paired with our Phabricator Jenkins Plugin, which will record Cobertura data on master runs, and compare coverage to the base revision on differentials.

Jenkins Integration

On differentials, the delta in coverage is calculated by taking the base commit (from conduit metadata) and comparing that to the current coverage amount.

In order to have a baseline to compare against, you must also have jenkins build your project on your mainline branch ("master" by default). You can either create a separate job, or enable SCM polling under Build Triggers:

scm polling

Development

Get the source

go get github.com/uber/uberalls

Install godeps

cd $GOPATH/src/github.com/uber/uberalls
go get github.com/tools/godep
godep restore

Run the thing

go build && ./uberalls

Run the tests

go test .

License

MIT Licensed

uberalls's People

Contributors

ascandella avatar

Watchers

Sebastian 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.