Can we use PHPT instead of .php and .php.expect
| From: | Andrea Faulds | Date: | Fri, 03 Oct 2014 20:07:08 +0000 |
| Subject: | Can we use PHPT instead of .php and .php.expect | ||
| Groups: | php.standards | ||
| Request: | Send a blank email to standards-+get-475@lists.php.net to get a copy of this message | ||
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).
Thoughts?
--
Andrea Faulds
http://ajf.me/