Introduction to phpRack
Read about phpRack in php|Architect June 2010: "Integration Testing with phpRack Framework".
phpRack is a light framework for automation of integration tests. By integration tests we mean software modules that should be executed in the production environment, in order to validate that said environment is configured as expected. For example your product is a web2.0 application which depends on proper configuration of PHP, Apache, MySQL and availability of YouTube, Flickr and GoogleMaps API's. Your product is properly tested with unit tests (obviously you're using stubs for said services and components). When the product is deployed to the production environment, you want to be sure that the services you need are configured and available. If they are not — you want to get a notification about it before your end-users. And you want to get a detailed notification.
This is when phpRack is mandatory. You shall add phpRack to your project, and write a number of tests. All these tests will be executed when requested and will produce a detailed report, both only and by email. It will save you a lot of time during deployment and later, during maintenance of your product.
If and when you have questions about phpRack, submit a new ticket to this Trac, and someone from our team will help you.
Most important documentation pages:
- Quick Start of phpRack in your project
- Full list of available assertions
- How to integrate phpRack and Phing
- phpRack_Test
- How to configure phpRack bootstrap.php
Download
To get the latest version of phpRack go to Download page.
Attachments
-
phpRack Deployment Diagram.png
(19.8 KB) -
added by yegor256@… 19 months ago.
simple phpRack deployment UML diagram
Download all attachments as: .zip

