Development

ref/DirBootstrap

You must first sign up to be able to contribute.

bootstrap

Common convention for location of code to bootstrap the testing process. The code in the files within this directory may set certain variables, load specific fixtures, or perform other initialization code that is desired for most, or at least multiple, test cases. They will typically be be included at the beginning of a specific test case located in the test/unit or test/functional directories.

Locations

  /<projname>/test/bootstrap

Contents

May contain files to do initial fixtures for unit or functional testing, and possibly a variety of situations for the project.

Examples

listing from Jobeet:

> ls -l test/bootstrap
-rw-r--r--@ 1 user  staff  334 Jan  9 15:32 Doctrine.php
-rw-r--r--  1 user  staff  792 Dec  4 16:23 functional.php
-rw-r--r--  1 user  staff  533 Dec  4 16:23 unit.php

References