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?).
weirdan
 
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
diddledan
 
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 1 guest

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 1 guest
Phalanger