diff --git a/README.md b/README.md new file mode 100644 index 0000000..148beb9 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +The base (abstract) classes for my PHPUnit testing scripts. + +## BrowserTest.php +Set up the Selenium test using args from environment +Take a screenshot on failed test + +## DomainRedirectTest.php +This will test all combinations of http/https/www/trailing slash, checking that they all redirect to the same destination URL. + +## UrlRedirectTest.php +This will check (using curl) that the source URL redirects to the destination URL diff --git a/src/BrowserTest.php b/src/BrowserTest.php index 8761062..bbebeb3 100644 --- a/src/BrowserTest.php +++ b/src/BrowserTest.php @@ -1,6 +1,11 @@