Open fezfez opened 9 years ago
@nkt , @phalcon , @steffengy ping !
Looks good to me
+1
I don't think the advantages to the current solution, are that big that I would invest time into implementing this. I think more important would currently be to convert PHP tests to zephir and add them to zephirs functionality tests (where applicable).
@steffengy if every one is ok with the concept, i can make a POC :)
@fezfez you can do that of course, the advantage of this solution would be that you have php (test-code) and zephir code (implementation) in one file and do not have to take a look at multiple files. This would also require converting the existing tests, which is not a trivial amount of work :)
First POC available https://github.com/fezfez/zephir-testcase.
See #1104
Hi,
I propose to introduce zept (Zephir Test) like php do (phpt).
The syntax would be very similar to phpt, an example with a zept for issue#1097
The change between zept and phpt are :
This is just a draft but what do you think ?
Cheers