PHPackages                             petrknap/nette-bootstrap - 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. petrknap/nette-bootstrap

Abandoned → [netpromotion/symfony-up](/?search=netpromotion%2Fsymfony-up)ArchivedLibrary[Testing &amp; Quality](/categories/testing)

petrknap/nette-bootstrap
========================

Nette Bootstrap and Test-Case for PHPUnit

v1.2.0(9y ago)093MITPHPPHP &gt;=5.3.6

Since Oct 31Pushed 8y ago1 watchersCompare

[ Source](https://github.com/petrknap/nette-bootstrap)[ Packagist](https://packagist.org/packages/petrknap/nette-bootstrap)[ Docs](https://github.com/petrknap/nette-bootstrap)[ RSS](/packages/petrknap-nette-bootstrap/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (10)Dependencies (6)Versions (12)Used By (0)

Nette Bootstrap and Test-Case for PHPUnit
=========================================

[](#nette-bootstrap-and-test-case-for-phpunit)

Container
---------

[](#container)

Base bootstrap class is self-explanatory, just use it naturally.

```
Bootstrap::getContainer()->getByType("Nette\\Application\\Application")->run();
```

Testing
-------

[](#testing)

### Special configuration for unit testing

[](#special-configuration-for-unit-testing)

If you need special configuration for unit testing (f.e. different database connection) you can simply modify `Bootstrap::getConfigFiles` method.

```
