Feng Forum

Other Topics => Development => Architecture => : Stenner April 08, 2009, 09:07:54 AM

: Is any kind of testing framework used for OpenGoo?
: Stenner April 08, 2009, 09:07:54 AM
I was just wondering if PHPunit or any other testing framework is being used for the development of OpenGoo. It would be an advantage to be able to test and see if a change I made would break something else.
: Re: Is any kind of testing framework used for OpenGoo?
: ignacio April 09, 2009, 11:49:56 AM
Hi Stenner,

We are not using any unit testing framework for the moment. We thought of using one but haven't decided on this yet. Personally, I don't have too much experience with unit testing to take advantage of it, but if you want to share your knowledge you are welcome to do so :)
: Re: Is any kind of testing framework used for OpenGoo?
: Stenner April 14, 2009, 07:35:14 AM
Sorry about the late response. Was out of office during Easter.

I have tried using CruiseControl.net for doing some TDD (Test Driven Development), but that was in C#, so I'll have to look into the proper tools for php. So far I've found CruiseControl.rb which should work as a continuous integration tool. You can get it at http://cruisecontrolrb.thoughtworks.com/.
To understand the concept I'd recommend reading the article written by Martin Fowler at http://www.martinfowler.com/articles/continuousIntegration.html.

It seems as if phpunit is the right unit testing framework to use together with CruiseControl, but I've yet to test it out. Once I've done that I'll share my views and recommendations and write some simple samples for people to start out with.
: Re: Is any kind of testing framework used for OpenGoo?
: conrado April 14, 2009, 05:48:00 PM
That would be very useful info Stenner!
: Re: Is any kind of testing framework used for OpenGoo?
: Guite January 12, 2010, 08:45:54 AM
phpUnderControl is a CruiseControl addon for PHP projects.
Check it out at http://phpundercontrol.org/about.html