PHPackages                             howtomakeaturn/easy-coverage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. howtomakeaturn/easy-coverage

ActiveLibrary[Testing &amp; Quality](/categories/testing)

howtomakeaturn/easy-coverage
============================

A simple package to encourage/force developers to write tests.

0.1.1(2y ago)742MITPHPPHP &gt;=8.0

Since Jul 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/howtomakeaturn/easy-coverage)[ Packagist](https://packagist.org/packages/howtomakeaturn/easy-coverage)[ RSS](/packages/howtomakeaturn-easy-coverage/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Introduction
============

[](#introduction)

A simple package to encourage/force developers to write tests.

Why I built this package?
=========================

[](#why-i-built-this-package)

I'm working with multiple junior developers in multiple projects.

I always want to find a way to encourage/force them to write tests.

And I want this process to be integrated into the CI/CD and pre-push workflow.

Installation
============

[](#installation)

```
composer require "howtomakeaturn/easy-coverage:^0.1"

```

Usage
=====

[](#usage)

Let's say you think `App\Services` namespace is very important, and you want to force all developers to write tests for every public method under this namespace.

Here is the basic example:

```
