A PHPUnit extension for testing your cloud infrastructure.
composer require bellangelo/test-the-cloud
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
>
+ <extensions>
+ <extension class="Bellangelo\TestTheCloud\Extension">
+ <arguments>
+ <array>
+ <element key="template">
+ <string>my-template</string>
+ </element>
+ </array>
+ </arguments>
+ </extension>
</extensions>
<testsuites>
<testsuite name="unit">
<directory>test/Unit/</directory>
</testsuite>
</testsuites>
</phpunit>
- Load AWS credentials through the configuration.
- Assert resources contain tag.
- Enforce name conventions in resources.
- Add support for PHPUnit 10+.