This is a built-in template used to create PHPSpec Specification.
The template is used each time you create a new PHPSpec Specification by selecting New | PHP Test from the popup menu
in one of the project views and select 'PHPSpec' as testing library. The template is editable. Along with PHP statements, expressions and comments you can also use the predefined variables listed below. Every variable will be expanded like macros into the corresponding value. By means of the #parse directive, you can include templates from the Includes tab by specifying the full name of the desired template as a parameter in quotation marks. |
Predefined variables will take the following values: | ||
|
name of the tested class | |
|
namespace of the tested class | |
|
test class name | |
|
test class namespace | |
|
current file name | |
|
current user system login name | |
|
current system date | |
|
current system time | |
|
current year | |
|
current month | |
|
current day of the month | |
|
current hour | |
|
current minute | |
|
current IDE name | |
|
Dollar sign, evaluates to a plain '$' character. | |
|
current project name |