Test Driven Dev for CI?

Alex Dean alex at crackpot.org
Mon Mar 12 17:57:32 MST 2012


If I remember correctly Cucumber will make HTTP requests to your test server. So there's no reason you couldn't write your tests in Ruby even if the server code is PHP.  You can use  CI server like Jenkins to run your PHPUnit tests.

On Mar 12, 2012, at 7:12 PM, Eric Cope wrote:

> I use the light weight unit test library coupled with PHPUnit's code coverage tool. If you google PHPUnit and CodeIgniter, someone already has integrated them. I've tried to use Selenium's web driver, but PHP is not an officially supported language. I never could get them to play nicely. 
> 
> Let me know your results. 
> 
> Eric
> 
> On Mar 12, 2012, at 5:04 PM, Vimal Shah <vimals at sokikom.com> wrote:
> 
>> Hello all,
>> 
>> I'm looking for an equivalent to the following RubyOnRails tools; Cucumber, Capybara and Rspec, for CodeIgnitor (CI)?
>> 
>> Yii recommends PHPUnit and Selenium Remote Control. I don't see why these can't be used in CI? Any experience with these and/or Toast(X) for CI? I've been pushing TDD away but it seems like I can't run away from it anymore.
>> 
>> -Thank you all in advance for your insights!
>> Vimal
>> 
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 



More information about the PLUG-discuss mailing list