Pionia Core

ContextAwareTestCase extends TestCase
in package

Provides a context aware test suite.

This test suit initialises and establishes a connection to the database. It also loads the settings from the application's database.ini. It should be the preferred choice if tests target context-aware modules in the application.

Table of Contents

Properties

$connection  : mixed
$pionia  : mixed
$connection  : Database|null
$pionia  : Pionia|null

Methods

getConnection()  : Database
getPionia()  : Pionia
setUp()  : void
tearDown()  : void

Properties

$pionia

public mixed $pionia

The current core app instance, use this to access settings if needed

Methods


        
On this page

Search results