CakeTestSuite (class)

Class CakeTestSuite

A class to contain test cases and run them with shared fixtures

PHPUnit_Framework_TestSuite
Extended by CakeTestSuite
Package: Cake\TestSuite
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Located at Cake/TestSuite/CakeTestSuite.php

Method Detail

addTestDirectorysource public

addTestDirectory( string $directory '.' )

Adds all the files in a directory to the test suite. Does not recurse through directories.

Parameters

string $directory optional '.'
The directory to add tests from.

addTestDirectoryRecursivesource public

addTestDirectoryRecursive( string $directory '.' )

Recursively adds all the files in a directory to the test suite.

Parameters

string $directory optional '.'
The directory subtree to add tests from.

© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/2.7/class-CakeTestSuite.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部