PHPackages                             sonrac/silex-functional-tests-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. sonrac/silex-functional-tests-coverage

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

sonrac/silex-functional-tests-coverage
======================================

Add unit tests for functional tests for best coverage

2.5.7(6y ago)16.2kMITPHP

Since Mar 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/sonrac/silex-functional-tests-coverage)[ Packagist](https://packagist.org/packages/sonrac/silex-functional-tests-coverage)[ RSS](/packages/sonrac-silex-functional-tests-coverage/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (10)Versions (48)Used By (0)

[![Build Status](https://camo.githubusercontent.com/72c46c88d14e21cf668dc7e04c6d2ed1b0b7df07627e5ced7c1b62082f15be88/68747470733a2f2f7472617669732d63692e6f72672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sonrac/silex-functional-tests-coverage)[![StyleCI](https://camo.githubusercontent.com/b38856273389dd1c8ab22adf3666a82f2435405e6ebf562448a42655d397a238/68747470733a2f2f7374796c6563692e696f2f7265706f732f3132363439323739382f736869656c643f6272616e63683d6d6173746572267374796c653d666c6174)](https://styleci.io/repos/126492798)

[![codecov](https://camo.githubusercontent.com/ff62f3c0f464244f7dceb63d0772491dbd57fc7d2da098086fb0d72b15337dc6/68747470733a2f2f636f6465636f762e696f2f67682f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/sonrac/silex-functional-tests-coverage)

[![Scrutinizer Build](https://camo.githubusercontent.com/a49ab2cdee06054ae99e77996257890f4139ff74cee7197af6938edd30d34831/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://camo.githubusercontent.com/a49ab2cdee06054ae99e77996257890f4139ff74cee7197af6938edd30d34831/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f6261646765732f6275696c642e706e673f623d6d6173746572)[![Scrutinizer](https://camo.githubusercontent.com/8e355191e5fc5e7bd9e018f03bc05726913d3ee68ad2fc00c68a907964361720/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://camo.githubusercontent.com/8e355191e5fc5e7bd9e018f03bc05726913d3ee68ad2fc00c68a907964361720/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)[![Scrutinizer Code Coverage](https://camo.githubusercontent.com/f2df92e60207ee5a42a73a87431a89e3e9c178218650b36214ff494365904cc0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://camo.githubusercontent.com/f2df92e60207ee5a42a73a87431a89e3e9c178218650b36214ff494365904cc0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f6261646765732f636f7665726167652e706e673f623d6d6173746572)[![codecov](https://camo.githubusercontent.com/ff62f3c0f464244f7dceb63d0772491dbd57fc7d2da098086fb0d72b15337dc6/68747470733a2f2f636f6465636f762e696f2f67682f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/sonrac/silex-functional-tests-coverage)[![Packagist](https://camo.githubusercontent.com/5f283fd85dacabaf24a8860571428cdc728c4aea3f33db3d953400fe1d8b366e/68747470733a2f2f706f7365722e707567782e6f72672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f762f737461626c652e737667)](https://camo.githubusercontent.com/5f283fd85dacabaf24a8860571428cdc728c4aea3f33db3d953400fe1d8b366e/68747470733a2f2f706f7365722e707567782e6f72672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f762f737461626c652e737667)[![Latest Unstable Version](https://camo.githubusercontent.com/9700513c69778caf1332aff972fadb233fc2ef8d020266ee7bbc2de10bf72b76/68747470733a2f2f706f7365722e707567782e6f72672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f762f756e737461626c65)](https://packagist.org/packages/sonrac/silex-functional-tests-coverage)[![License](https://camo.githubusercontent.com/2ffdf2198cfe68bdf9f7f1bb8b3d0b15faf5211c3c0b8181f59321bb208d977a/68747470733a2f2f706f7365722e707567782e6f72672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f6c6963656e73652e737667)](https://camo.githubusercontent.com/2ffdf2198cfe68bdf9f7f1bb8b3d0b15faf5211c3c0b8181f59321bb208d977a/68747470733a2f2f706f7365722e707567782e6f72672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f6c6963656e73652e737667)[![Total Downloads](https://camo.githubusercontent.com/8f7976eb74a1190bfb34be0e6a149577807bee612017afab65c2c10c81061f05/68747470733a2f2f706f7365722e707567782e6f72672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f646f776e6c6f616473)](https://packagist.org/packages/sonrac/silex-functional-tests-coverage)[![Monthly Downloads](https://camo.githubusercontent.com/1d4266e27eb60e5c631c90c254cb1f4b5e572d4f504371b4878701f2751cf85b/68747470733a2f2f706f7365722e707567782e6f72672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f642f6d6f6e74686c79)](https://packagist.org/packages/sonrac/silex-functional-tests-coverage)[![Daily Downloads](https://camo.githubusercontent.com/a0589c99bf1c524b1db4d63482a49ec1197482e3530623e0babfa3082a7ed34f/68747470733a2f2f706f7365722e707567782e6f72672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f642f6461696c79)](https://packagist.org/packages/sonrac/silex-functional-tests-coverage)[![composer.lock](https://camo.githubusercontent.com/3e478da17cf9a9d695087d2815e452ada64d0b95a637e9d37bcc186595c5c300/68747470733a2f2f706f7365722e707567782e6f72672f736f6e7261632f73696c65782d66756e6374696f6e616c2d74657374732d636f7665726167652f636f6d706f7365726c6f636b)](https://packagist.org/packages/sonrac/silex-functional-tests-coverage)

Silex coverage for functional tests
===================================

[](#silex-coverage-for-functional-tests)

Idea
----

[](#idea)

Functional tests mechanism concatenation with emulation is called in unit tests. All function tests located in trait and include in functional and unit as trait

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

[](#installation)

```
composer require sonrac/silex-functional-tests-coverage
```

Class description
-----------------

[](#class-description)

ClassDescriptionBaseControllerTestBase controllers test for unit testingBaseWebTestBase functional test controllerOnceMigrationUnitTestRun functional test with running migration on test beginning and rollback after test finishedOnceMigrationUnitTestRun unit test with running migration on test beginning and rollback after test finishedOnceMigrationWebTestRun functional test with running migration on test beginning and rollback after test finishedOnceRunMigrationClass for once run migration and seedsTestApplicationAbstract class for init application instanceUnitTestBase unit test with bases traits (BootTraits)Traits description
------------------

[](#traits-description)

TraitDescriptionBootTraitsBoot trait in classInitMigrationTestTraitUsing for once run migration in unit or functional testsControllersTestTraitUsing for additional helper functions in functional testsMigrationsTraitTrait for build migration configInitMigrationAppTraitTrait for init test app migration mechanismExceptions
----------

[](#exceptions)

ExceptionDescriptionMaxRedirectExceptionMaximum redirect execution exceptionClass api
---------

[](#class-api)

[Docs](https://sonrac.github.io/docs/silex-functional-tests)

Examples
--------

[](#examples)

See [example project](https://github.com/sonrac/app-silex-functional-tests-coverage)

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~11 days

Total

45

Last Release

2535d ago

Major Versions

1.1.8 → 2.02018-04-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/1245037f65b027a2c38d7aa0281cd04f53ac27eaf695a60da7311254fcc99350?d=identicon)[sonrac](/maintainers/sonrac)

---

Top Contributors

[![sonrac](https://avatars.githubusercontent.com/u/3766459?v=4)](https://github.com/sonrac "sonrac (88 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sonrac-silex-functional-tests-coverage/health.svg)

```
[![Health](https://phpackages.com/badges/sonrac-silex-functional-tests-coverage/health.svg)](https://phpackages.com/packages/sonrac-silex-functional-tests-coverage)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M222](/packages/backpack-crud)[staabm/phpstan-dba

2942.6M2](/packages/staabm-phpstan-dba)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[shopware/storefront

Storefront for Shopware

684.6M236](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

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