gitlab-org--gitlab-foss/spec
Douwe Maan 804fa43758 Merge branch 'feature/test-coverage-badge' into 'master'
Add test coverage badge

## What does this MR do?

This MR adds a test coverage badge.

Test coverage badge will be a SVG image you can embed in README.md or on your website that will be created dynamically by GitLab, to show information about how much of the code is being covered by tests. In addition to coverage-regexp feature we currently have, this feature will make it possible to use the coverage data obtained from the build log. We will support both - pipeline coverage, or test coverage for particular job in the pipeline. 

![coverage_badges](/uploads/dfa307339eb58c8138e551b42c0d8756/coverage_badges.png)

![coverage_badge](/uploads/30406e4bdcf979b2900ffe8996728c97/coverage_badge.png)

## What are the relevant issue numbers?

Closes #3714

## Screenshots (if relevant)

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] ~~API support added~~
- Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !5708
2016-08-15 19:48:05 +00:00
..
config Small refactor and a few documentation fixes 2016-08-04 19:02:39 +02:00
controllers Fix bug where destroying a namespace would not always destroy projects 2016-08-11 15:36:35 -07:00
factories Pre-create all builds for Pipeline when a trigger is received 2016-08-11 15:22:35 +02:00
features Merge branch 'feature/test-coverage-badge' into 'master' 2016-08-15 19:48:05 +00:00
finders Add a spec for ProjectsFinder project_ids_relation option 2016-08-15 12:49:31 +02:00
fixtures Merge branch '13333-consider-updating-http-parser-rb-to-0-6-0' into 'master' 2016-08-11 11:23:53 +00:00
helpers Show member roles to all users on members page 2016-08-11 11:08:07 -05:00
initializers Give priority to environment variables 2016-08-03 15:48:48 +01:00
javascripts Merge branch 'date-time-to-day-tests' into 'master' 2016-08-05 19:38:05 +00:00
lib Add small corrections to test coverage report badge 2016-08-15 14:39:46 +02:00
mailers adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
models Merge branch 'zj-deployment-status-on-mr' into 'master' 2016-08-15 15:29:26 +00:00
requests Merge branch '20842-todos-queries-cache' into 'master' 2016-08-15 12:18:27 +00:00
routing Rename `markdown_preview` routes to `preview_markdown` 2016-08-11 15:54:18 +02:00
services Merge branch '20842-todos-queries-cache' into 'master' 2016-08-15 12:18:27 +00:00
support New AccessRequests API endpoints for Group & Project 2016-08-10 19:07:05 +02:00
tasks/gitlab Use `File::exist?` instead of `File::exists?` 2016-08-11 13:54:45 +03:00
uploaders Remove VideoJS and clean the integration 2016-07-20 11:36:42 +02:00
views Method names changed to #includes_commit? 2016-08-12 10:43:04 +02:00
workers Fix bug where destroying a namespace would not always destroy projects 2016-08-11 15:36:35 -07:00
factories_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
rails_helper.rb
simplecov_env.rb Introduce SimpleCovEnv singleton helper and use it 2016-07-21 12:46:49 +02:00
spec_helper.rb Add a method in Project to return a cached value of total count of projects 2016-08-09 16:08:03 -07:00
teaspoon_env.rb Add test coverage analysis for CoffeeScript (!5052) 2016-08-07 21:52:37 +02:00