better comments and readme
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
<?php
|
||||
namespace JHodges\PHPUnitBase;
|
||||
|
||||
/**
|
||||
* Set up the Selenium test using args from environment
|
||||
* Take a screenshot on failed test
|
||||
**/
|
||||
|
||||
abstract class BrowserTest extends \PHPUnit_Extensions_Selenium2TestCase{
|
||||
|
||||
public function setUp(){
|
||||
|
@@ -1,6 +1,11 @@
|
||||
<?php
|
||||
namespace JHodges\PHPUnitBase;
|
||||
|
||||
/**
|
||||
* This will test all combinations of http/https/www/trailing slash.
|
||||
* Checking that they all redirect to the same destination URL.
|
||||
**/
|
||||
|
||||
abstract class DomainRedirectTest extends UrlRedirectTest{
|
||||
|
||||
/**
|
||||
|
@@ -3,6 +3,11 @@ namespace JHodges\PHPUnitBase;
|
||||
|
||||
use \PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* This will check (using curl) that the source
|
||||
* URL redirects to the destination URL
|
||||
**/
|
||||
|
||||
abstract class UrlRedirectTest extends TestCase{
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user