Recommended unit testing framework

Discussion about the open-source Phalanger [?] project.

Recommended unit testing framework

Postby weirdan » January 7th, 2016, 5:03 am

Are there any recommendations on what unit testing framework projects targeting Phalanger should use? It doesn't seem that trusty old PHPUnit would work in such exotic environment (certainly not the command line runner), but what else is available? Tried to use NUnit, but it's picky about method signatures (it wants test methods to return void), and there doesn't seem to be a way to force method's return type (yet?).
Posts: 17
Joined: June 4th, 2013, 1:11 am

Re: Recommended unit testing framework

Postby diddledan » February 17th, 2016, 2:28 am

I think the problem we have as it stands with regards to PHPUnit is that we don't have an equivalent to the commandline php binary. If we can fix that by introducing an equivalent which we can use akin to `php /path/to/phpunit.php` then I see no reason why PHPUnit would not work thereafter. (I may be way off base there, but that's my thinking anyway.)
User avatar
Posts: 14
Joined: March 19th, 2015, 2:59 pm
Location: Hampshire, UK

Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 3 guests


User Control Panel


Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 89 on October 15th, 2018, 4:06 pm

Users browsing this forum: No registered users and 3 guests