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 (1769)
  2. Automated Functional Testing of Web Search Engines (1788)
  3. Performance Test Report Template (3879)
  4. Enhancing Automated Web Testing by Using IE and the DOM (694)
  5. [Free] Real-time NetFlow Analyzer : Free Performance Tool (2064)
  6. Demotration: Automated web testing with iMacros (1209)
  7. Automated Web Testing with Selenium (2201)
  8. Free tools for performance/load test for Winform (3592)
  9. Load Testing embedded project? (1866)
  10. [Free] HttpUnit : an open source software testing framework (1496)
  11. [Video] BEZVision Performance Testing Analytics and Workloads (1586)
  12. [Paid] Xceptance LoadTest (XLT) : Load and Performance Tests tool (3457)
  13. 10 performance bottlenecks in Web Application (2792)
  14. Automated Web Testing Toolkit : Expert Methods for Testing and Managing Web Applications (1751)
  15. [Free] Data Services Stress Testing Framework : load test the server-side implementation (2154)
  16. [Free] PAMIE : Automated Web-Dev Testing Tool (1575)
  17. [Free] wsgi-intercept : Testing Python Web applications tool (1951)
  18. [Webinar] 5 Best Practices for Blazing Fast Websites (729)
  19. [Ebook] Testing Applications on the Web: Test Planning for Internet-Based Systems (6863)
  20. [Free] iPadPeek : Website Testing tool on IPad (3206)