Skip to content
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.
/ PHP-Autotester Public archive

Tool for automatic site testing for error messages(or another snippets that can be found with regexp)

Notifications You must be signed in to change notification settings

kooler/PHP-Autotester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Autotester
--------------
Tool for automatic site testing for error messages(or another snippets that can be found with regexp).

How does it work:
Tool scans your site and makes site's map, then it goes through each page and checks with regexp pattern(error message pattern). If snippet has been found(some error has been thrown) test fails.

How to configure it:
1. In config file you need to specify the way your site will be scanned. The simplest one is scan it by links on the pages(you can also use module, that scans Drupal path table)
2. You also need to specify type of regepx scanner or write you own. The important things each scanner shoud have are regexp pattern and check function, that returns result of matching to pattern.
3. And of course you need to specify you site url.
4. That's all folks. Now you can start testing from console or from your web browser.

How to run:
There are two ways to run tests: launch it from console or from web browser. To run from console go to the folder with the tool and type "php scan.php", to run from browser just navigate to scan.php page (for ex. http://mytestsite.com/scan.php)

About

Tool for automatic site testing for error messages(or another snippets that can be found with regexp)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages