PHPackages                             hostnet/symfony-config-test - 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. hostnet/symfony-config-test

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

hostnet/symfony-config-test
===========================

Library for testing user classes related to the Symfony Config Component

v3.2.0(8y ago)12.0kMITPHPPHP ^7.0

Since Aug 29Pushed 6y ago2 watchersCompare

[ Source](https://github.com/hostnet/symfony-config-test-lib)[ Packagist](https://packagist.org/packages/hostnet/symfony-config-test)[ RSS](/packages/hostnet-symfony-config-test/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (2)Versions (30)Used By (0)

**IMPORTANT:** This package is no longer maintained, please consider using the original source: .

---

SymfonyConfigTest
=================

[](#symfonyconfigtest)

*By Matthias Noback*

[![Build Status](https://camo.githubusercontent.com/d16edc6ce2fa38a2260c5d339e471b3ef465cc1255bcdc15231e94d3d86011e0/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f53796d666f6e79546573742f53796d666f6e79436f6e666967546573742e706e67)](http://travis-ci.org/SymfonyTest/SymfonyConfigTest)

Writing configuration classes using the [Symfony Config Component](http://symfony.com/doc/current/components/config/definition.html) can be quite hard. To help you verify the validity of the resulting config node tree, this library provides a PHPUnit test case and some custom assertions.

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

[](#installation)

Using Composer:

```
php composer.phar require --dev matthiasnoback/symfony-config-test

```

Usage
-----

[](#usage)

Create a test case and use the trait from `Matthias\SymfonyConfigTest\PhpUnit\ConfigurationTestCaseTrait`. Then implement `getConfiguration()`:

```
