http://www.devdaily.com/php/cakephp-web-testing-automated-simpletest-example-run

CakePHP/SimpleTest automated web testing: Can you share an example of some automated CakePHP SimpleTest web tests?
Sure, here's a quick look at how I've created a suite of CakePHP automated web tests using SimpleTest to perform integration testing on a new CakePHP web application.

The recipe for creating automated web tests in CakePHP is fairly simple:
    * Install SimpleTest
    * Create a class that extends CakeWebTestCase
    * Write your web tests
    * Run your web tests from a browser
    * Run your CakePHP web tests from the command line

The process of installing SimpleTest with CakePHP is covered on the CakePHP website, so I won't bother repeating that here. Instead what I'd like to do is share a large portion of my CakePHP web test class, and also show the URL to run my web/integration tests from the browser, and also run these same web tests from the command line.
Share
Related Documents
  1. [Paid] WAPT : Load and stress testing tool (1497)
  2. Automated Functional Testing of Web Search Engines (1482)
  3. [Video] BEZVision Performance Testing Analytics and Workloads (1153)
  4. Performance Test Report Template (3173)
  5. [Paid] Xceptance LoadTest (XLT) : Load and Performance Tests tool (2529)
  6. Demotration: Automated web testing with iMacros (962)
  7. Automated Web Testing with Selenium (1936)
  8. Free tools for performance/load test for Winform (2375)
  9. [Free] Real-time NetFlow Analyzer : Free Performance Tool (1709)
  10. Load Testing embedded project? (1104)
  11. Automated Web Testing Toolkit : Expert Methods for Testing and Managing Web Applications (1513)
  12. [Free] PAMIE : Automated Web-Dev Testing Tool (1222)
  13. [Free] HttpUnit : an open source software testing framework (1232)
  14. Enhancing Automated Web Testing by Using IE and the DOM (463)
  15. 10 performance bottlenecks in Web Application (2174)
  16. [Free] Data Services Stress Testing Framework : load test the server-side implementation (1811)
  17. [Ebook] Firebug 1.5: Editing, Debugging, and Monitoring Web Pages (3856)
  18. [Ebook] Testing Applications on the Web: Test Planning for Internet-Based Systems (5682)
  19. [Ebook] Pro Apache Tomcat 6 (2951)
  20. [Ebook] Internet Security: A Jumpstart for Systems Administrators and IT Managers (2988)