[RCD] state of unit tests

A.L.E.C alec at alec.pl
Thu Oct 31 20:13:02 CET 2013


On 10/31/2013 07:30 PM, Charles McNulty wrote:
> What is the current state of the unit tests?  I am getting many failures
> of both the PHP and Selenium tests, but I was running them off on
> master, not a released version.  Part of the problem was that I was
> hitting the 120 second PHP timeout that's hardcoded into iniset.php. 
> When you run the tests do you manually change that or is there some
> other way of running the tests that bypasses the execution timeout?

Works for me.

Time: 1.19 seconds, Memory: 28.00Mb

OK (275 tests, 576 assertions)

> Are tests being added to and maintained?  I've become used to
> test-driven development with jQuery, and it feels a little dirty to
> submit a bug or a pull request without a corresponding unit test.

Yes. We maintain and add new tests. However, the Selenium based tests
are just proof-of-concept. There are only few and writing them is harder
than these PHP unit tests.

-- 
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer  [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl


More information about the dev mailing list