forked from zendframework/zendframework
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README-DEV.txt
71 lines (49 loc) · 2.32 KB
/
README-DEV.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
If you wish to contribute to Zend Framework, please be sure to
read/subscribe to the following resources:
* ZF2 Requirements:
http://framework.zend.com/wiki/display/ZFDEV2/Zend+Framework+2.0+Requirements
* Coding Standards:
http://framework.zend.com/manual/en/coding-standard.html
* ZF Git Guide:
README-GIT.txt
* Contributor's Guide:
http://framework.zend.com/wiki/display/ZFDEV/Contributing+to+Zend+Framework
* ZF Contributor's mailing list:
Archives: http://zend-framework-community.634137.n4.nabble.com/ZF-Contributor-f680267.html
Subscribe: [email protected]
* ZF Contributor's IRC channel:
#zftalk.dev on Freenode.net
In order to contribute, you MUST first sign and send in a Contributor's
License Agreement; you may obtain a copy from
http://framework.zend.com/cla (individuals) or
http://framework.zend.com/ccla (corporate); please read the
contributor's guide, linked above, for more information on the CLA and
how to deliver it.
If you are working on new features, or refactoring an existing
component, please create a proposal. You can do this in on the proposals
page, http://framework.zend.com/wiki/display/ZFPROP/Home.
RUNNING TESTS
=============
The full test suite currently does not run! This is due to some
components not yet being migrated to namespaces, as well as to some
issues we've encountered in refactoring.
To run tests:
* Make sure you have a recent version of PHPUnit installed; 3.4.0
minimally.
* Enter the tests/ subdirectory.
* Execute PHPUnit, providing a path to a component directory for which
you wish to run tests, or a specific test class file.
% phpunit ZendTest/Application
% phpunit ZendTest/Application/Resource/CacheManagerTest.php
* You may also provide the "--group" switch; in such cases, provide the
top-level component name:
% phpunit --group Zend_Application
This will likely lead to errors, so it's usually best to specify a
specific component in which to run test:
% phpunit --group ZF-XYZ Zend/Application
You can turn on conditional tests with the TestConfiguration.php file.
To do so:
* Enter the tests/ subdirectory.
* Copy TestConfiguration.php.dist file to TestConfiguration.php
* Edit TestConfiguration.php to enable any specific functionality you
want to test, as well as to provide test values to utilize.