PHPackages                             bab/tested-routes-checker-bundle - 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. bab/tested-routes-checker-bundle

ActiveSymfony-bundle[Testing &amp; Quality](/categories/testing)

bab/tested-routes-checker-bundle
================================

A bundle to ensure all routes of a Symfony application have been tested

v1.0.1(5mo ago)122.9k↑233.3%MITPHPPHP ^8.2

Since Dec 2Pushed 3mo agoCompare

[ Source](https://github.com/odolbeau/TestedRoutesCheckerBundle)[ Packagist](https://packagist.org/packages/bab/tested-routes-checker-bundle)[ RSS](/packages/bab-tested-routes-checker-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (6)Used By (0)

TestedRoutesCheckerBundle
=========================

[](#testedroutescheckerbundle)

A bundle to ensure all routes of a Symfony application have been tested.

Note

This bundle was originally hosted on [Tiime-Software organisation](https://github.com/Tiime-Software/TestedRoutesCheckerBundle). Given the lack of maintenance (see [this PR](https://github.com/Tiime-Software/TestedRoutesCheckerBundle/pull/29) &amp; [this one](https://github.com/Tiime-Software/TestedRoutesCheckerBundle/pull/30)), I decided to create an independant repository in order to give to this project the love it deserves. ♥️

How it works?
-------------

[](#how-it-works)

1. Launch your tests using PHPUnit or anything else. All called routes will be stored in `var/cache/bab_tested_routes_checker_bundle_route_storage`.
2. Run `php bin/console bab:tested-routes-checker:check` to have a small report of what's tested and what's not!

Installation
------------

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

### Applications that use Symfony Flex

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
composer require --dev bab/tested-routes-checker-bundle
```

### Applications that don't use Symfony Flex

[](#applications-that-dont-use-symfony-flex)

#### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
composer require --dev bab/tested-routes-checker-bundle
```

#### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    Bab\TestedRoutesCheckerBundle\BabTestedRoutesCheckerBundle::class => ['dev' => true, 'test' => true],
];
```

Configuring your CI
-------------------

[](#configuring-your-ci)

### Github actions

[](#github-actions)

If you're using Github actions, simply add the following step to your existing test job:

```
name: Tests

jobs:
  tests:
    steps:
      # Do your stuff
      # - ...
      # Ensure no new untested route have been introduced
      - name: Run Bab/TestedRoutesCheckerBundle
        run: bin/console bab:tested-routes-checker:check
```

View a fully working example [in `altercampagne/eventoj` repository](https://github.com/altercampagne/eventoj/blob/main/.github/workflows/tests.yml#L71-L72).

If you have several jobs to run all your tests, that's not a problem! 👌

1. Upload an artifact containing all tested routes after each of your job

```
jobs:
  tests:
    steps:
      # Do your stuff
      # - ...
      - name: Save tested routes
        uses: actions/upload-artifact@v4
        with:
          name: tested-routes-${{ inputs.any-relevant-discriminent }}
          path: var/cache/bab_tested_routes_checker_bundle_route_storage
```

2. Run a new job at the end to concatenate all files &amp; run the command

```
jobs:
  tested-routes-checker:
    name: Check tested routes
    needs: [your_tests_job]
    steps:
      # Install the project
      # - ...

      - name: Download All Artifacts
        uses: actions/download-artifact@v4
        with:
        path: tested-routes
        pattern: tested-routes-*

      - name: Create var/cache directory to put tested routes files inside
        shell: bash
        run: mkdir -p var/cache

      - name: Merge all tested routes files
        shell: bash
        run: cat tested-routes/tested-routes-*/bab_tested_routes_checker_bundle_route_storage > var/cache/bab_tested_routes_checker_bundle_route_storage

      - name: Check tested routes
        shell: bash
        run: php bin/console bab:tested-routes-checker:check
```

Using baseline to ignore some routes
------------------------------------

[](#using-baseline-to-ignore-some-routes)

You can ignore some routes with a `.bab-trc-baseline` file with 1 route per line.

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance77

Regular maintenance activity

Popularity30

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

150d ago

PHP version history (2 changes)v1.0.0PHP ^8.3

v1.0.1PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/6662493c184b0ed32978349f4162cac376a2e1026c7f3a06cf1a9565867ecf15?d=identicon)[odolbeau](/maintainers/odolbeau)

---

Top Contributors

[![odolbeau](https://avatars.githubusercontent.com/u/680206?v=4)](https://github.com/odolbeau "odolbeau (56 commits)")[![Verena-8](https://avatars.githubusercontent.com/u/162971462?v=4)](https://github.com/Verena-8 "Verena-8 (4 commits)")[![qdequippe](https://avatars.githubusercontent.com/u/3193300?v=4)](https://github.com/qdequippe "qdequippe (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bab-tested-routes-checker-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/bab-tested-routes-checker-bundle/health.svg)](https://phpackages.com/packages/bab-tested-routes-checker-bundle)
```

###  Alternatives

[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[shopware/storefront

Storefront for Shopware

684.2M148](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
