Practical mod_perl / HTML Book /



previous page: 3.3. Testing the Server (make test)
  
page up: HTML Version of the book
  
next page: 3.3.2. make test Troubleshooting

3.3.1. Manual Testing


Tests are invoked by running the ./TEST script located in the ./t directory. Use the -v option for verbose tests. You might run an individual test like this:

panic% perl t/TEST -v modules/file.t

or all tests in a test subdirectory:

panic% perl t/TEST modules

The TEST script starts the server before the test is executed. If for some reason it fails to start, use make start_httpd to start it manually:

panic% make start_httpd

To shut down Apache when the testing is complete, use make kill_httpd:

panic% make kill_httpd

 

Continue to:

  • prev: 3.3. Testing the Server (make test)
  • Table of Contents
  • next: 3.3.2. make test Troubleshooting







TOP
previous page: 3.3. Testing the Server (make test)
  
page up: HTML Version of the book
  
next page: 3.3.2. make test Troubleshooting


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007 StasoSphere.com