Re: [STANDARDS] Can we use PHPT instead of .php and .php.expect
[email protected] (Stas Malyshev)
| Newsgroups | php.standards |
|---|---|
| Organization | SugarCRM |
| Message-ID | <[email protected]> |
Hi! > Why are the spec tests so basic, using just .php and .php.expect > files? Is there a good reason not to use the more sophisticated, > though still lightweight and simple, PHPT test format used by php.net > PHP? This way, we could write tests that work for both (or even share > tests), and you would be able to use EXPECTFs (which are > super-handy). Using phpt would be nice. I wonder if we could write a script that converts php+expect pairs into phpt. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/