Bootstrap
in package
Bootstrap code for PHPUnit tests.
Copyright 2012-2021 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
- $runonce : bool
- Only run bootstrap code once.
- bootstrap() : mixed
- Bootstrap code for Horde packages.
Properties
$runonce
Only run bootstrap code once.
private
static bool
$runonce
= false
Methods
bootstrap()
Bootstrap code for Horde packages.
public
static bootstrap(string $dir[, bool $no_autoload = false ]) : mixed
Parameters
- $dir : string
-
Base directory of tests.
- $no_autoload : bool = false
-
Don't run default Horde_Test autoload tasks.