PHP Class Codeception\Module\WordPressTest

Inheritance: extends Codeception\Test\Unit
Show file Open project: lucatume/wp-browser

Protected Properties

Property Type Description
$backupGlobals
$client tad\WPBrowser\Connector\WordPress
$config array
$moduleContainer Codeception\Lib\ModuleContainer
$root org\bovigo\vfs\vfsStreamDirectory
$tester UnitTester

Public Methods

Method Description
it_should_be_instantiatable ( )
it_should_point_to_admin_index_when_requesting_admin_root ( )
it_should_point_to_admin_pretty_page_when_specifying_admin_pretty_page ( )
it_should_point_to_ajax_file_when_requesting_ajax_page ( )
it_should_point_to_cron_file_when_requesting_cron_page ( )
it_should_point_to_index_file_and_query_vars ( )
it_should_point_to_index_file_when_requesting_page ( )
it_should_point_to_index_file_when_requesting_pretty_permalinks ( )
it_should_point_to_specific_admin_page_when_requesting_specific_admin_page ( )
it_should_throw_if_specified_wp_root_folder_does_not_contain_wp_settings_php_file ( )
it_should_throw_if_specified_wp_root_folder_does_not_exist ( )

Protected Methods

Method Description
_after ( )
_before ( )

Private Methods

Method Description
make_instance ( ) : WordPress

Method Details

_after() protected method

protected _after ( )

_before() protected method

protected _before ( )

it_should_be_instantiatable() public method

it_should_point_to_admin_index_when_requesting_admin_root() public method

it_should_point_to_admin_pretty_page_when_specifying_admin_pretty_page() public method

it_should_point_to_ajax_file_when_requesting_ajax_page() public method

it_should_point_to_cron_file_when_requesting_cron_page() public method

it_should_point_to_index_file_and_query_vars() public method

it_should_point_to_index_file_when_requesting_page() public method

it_should_point_to_specific_admin_page_when_requesting_specific_admin_page() public method

it_should_throw_if_specified_wp_root_folder_does_not_contain_wp_settings_php_file() public method

it_should_throw_if_specified_wp_root_folder_does_not_exist() public method

Property Details

$backupGlobals protected property

protected $backupGlobals

$client protected property

protected WordPress,tad\WPBrowser\Connector $client
return tad\WPBrowser\Connector\WordPress

$config protected property

protected array $config
return array

$moduleContainer protected property

protected ModuleContainer,Codeception\Lib $moduleContainer
return Codeception\Lib\ModuleContainer

$root protected property

protected vfsStreamDirectory,org\bovigo\vfs $root
return org\bovigo\vfs\vfsStreamDirectory

$tester protected property

protected UnitTester $tester
return UnitTester