[zeta] Re: refactor webdav unittests

@]schlitt.info" -->
From: Tobias Schlitt <tobias[@]schlitt.info>
Date: Mon, 11 Jun 2012 09:45:39 +0200

Hi,

On 06/10/2012 04:34 AM, Daniel Fahlke wrote:
> I have some problems with making the client unittests run again for the
> webdav component.

> for example, we have this client test
> https://github.com/zetacomponents/Webdav/blob/master/tests/client_bitkinex_test.php
> which creates this testsuite
> https://github.com/zetacomponents/Webdav/blob/master/tests/client_test_suite.php
> to create the testcases with data related to this client.

> I think I nearly understand how this was intended to work.
> But i dont know how to dynamically create testCases. is there anywhere a
> tutorial for the current PHPUnit version, or do i have to look myself into
> the phpunit code?

Sebastian says that data provider should be the solution in this case
and I agree with him, that it should work in this case.

> And, till i get them to run, should i simple mark the client tests to skip?

Please mark them as incomplete instead.

Cheers,
Toby

-- 
Helping people to create high quality web apps      http://qafoo.com
Tobias Schlitt        http://schlitt.info        GPG Key: 0xC462BC14
Received on Mon Jun 11 2012 - 08:45:44 BST

This archive was generated by hypermail 2.2.0 : Sun Nov 12 2017 - 19:36:13 GMT