Survey of unit tested OS PHP applications

Survey of unit tested OS PHP applications

am 28.11.2007 08:58:55 von bill

Greetings all,

I would like to create a list, for an upcoming OINK-PUG presentation
on TDD & BDD in PHP, of open source PHP applications that are well
covered with unit and functional tests. Ideally, I would like to run
the test suite of one such application at some point during the
presentation.

It matters not to me what testing framework is used.

Please feel free to reply with any applications you believe meet this
criteria. So far, I'm only aware of Symfony which uses their in-house
developed 'lime' framework.

My gut tells me that the percentage of well tested applications will
be embarrassingly low.

Thanks in advance for your assistance,

Bill

Re: Survey of unit tested OS PHP applications

am 28.11.2007 17:45:20 von christopher.e.franklin

On Nov 27, 11:58 pm, Bill wrote:
> Greetings all,
>
> I would like to create a list, for an upcoming OINK-PUG presentation
> on TDD & BDD in PHP, of open source PHP applications that are well
> covered with unit and functional tests. Ideally, I would like to run
> the test suite of one such application at some point during the
> presentation.
>
> It matters not to me what testing framework is used.
>
> Please feel free to reply with any applications you believe meet this
> criteria. So far, I'm only aware of Symfony which uses their in-house
> developed 'lime' framework.
>
> My gut tells me that the percentage of well tested applications will
> be embarrassingly low.
>
> Thanks in advance for your assistance,
>
> Bill

CakePHP @ cakephp.org

Re: Survey of unit tested OS PHP applications

am 30.11.2007 07:29:30 von bill

On Nov 28, 11:45 am, "Christopher E. Franklin, Sr."
wrote:
> On Nov 27, 11:58 pm, Bill wrote:
>
>
>
> > Greetings all,
>
> > I would like to create a list, for an upcoming OINK-PUG presentation
> > on TDD & BDD in PHP, of open source PHP applications that are well
> > covered with unit and functional tests. Ideally, I would like to run
> > the test suite of one such application at some point during the
> > presentation.
>
> > It matters not to me what testing framework is used.
>
> > Please feel free to reply with any applications you believe meet this
> > criteria. So far, I'm only aware of Symfony which uses their in-house
> > developed 'lime' framework.
>
> > My gut tells me that the percentage of well tested applications will
> > be embarrassingly low.
>
> > Thanks in advance for your assistance,
>
> > Bill
>
> CakePHP @ cakephp.org

Thanks Christopher,

However, I've not been able to confirm your claim. I suspected CakePHP
would be well tested and looked at it a while ago but then and now I
can find only hints of tests.

The link below suggests that there are some core tests that can be run
but there was no "test.php" file anywhere in the version (1.1.18.5850)
I installed.

http://bakery.cakephp.org/articles/view/testing-models-with- cakephp-1-2-test-suite

The following link is a bit more disturbing. This year old ticket in
the project's issue tracker does not build my confidence:

https://trac.cakephp.org/ticket/1392

The issue references some degree of test documentation in the wiki but
apparently the CakePHP wiki is dead.

I encourage anyone how can to shatter my disillusionment.

Thanks,

Bill

Re: Survey of unit tested OS PHP applications

am 03.12.2007 00:48:11 von bill

The best reply I have had to this post was off-line. Should the author
of that message grant permission, you will read more about his
application and tests in my presentation which I will publish under
the Creative Commons license after it is presented to the OINK-PUG
members in January.

I was confident that the response would be low, but not this low...

Regards,

BB

Re: Survey of unit tested OS PHP applications

am 03.12.2007 01:17:40 von Jerry Stuckle

Bill wrote:
> The best reply I have had to this post was off-line. Should the author
> of that message grant permission, you will read more about his
> application and tests in my presentation which I will publish under
> the Creative Commons license after it is presented to the OINK-PUG
> members in January.
>
> I was confident that the response would be low, but not this low...
>
> Regards,
>
> BB
>

I would suggest this is not the right place to be asking this question.
Most of the people here are working on web sites, not open source
applications.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: Survey of unit tested OS PHP applications

am 05.12.2007 05:40:21 von Gerard

On Nov 30, 1:29 am, Bill wrote:
> Thanks Christopher,
>
> However, I've not been able to confirm your claim. I suspected CakePHP
> would be well tested and looked at it a while ago but then and now I
> can find only hints of tests.
>
> The link below suggests that there are some core tests that can be run
> but there was no "test.php" file anywhere in the version (1.1.18.5850)
> I installed.
>
> http://bakery.cakephp.org/articles/view/testing-models-with- cakephp-1...

It looks like the latest stable version is 1.1 (the one you installed)
and it looks like you are correct that there is no testing. The page
you link to refers to version 1.2, which is still "pre-alpha". So you
will have to go to SVN (don't know if these are in the download) to
see that it looks like there are in fact unit tests on Cake itself
(https://trac.cakephp.org/browser/trunk/cake/1.2.x.x/cake/te sts) and
some sort of new built-in unit testing component for Cake users, as
the article describes.

> The following link is a bit more disturbing. This year old ticket in
> the project's issue tracker does not build my confidence:
>
> https://trac.cakephp.org/ticket/1392
>
> The issue references some degree of test documentation in the wiki but
> apparently the CakePHP wiki is dead.
>
> I encourage anyone how can to shatter my disillusionment.

It looks like Zend Framework has unit tests as well, though all I can
do is point you to the directory: http://framework.zend.com/svn/framework/tag/release-1.0.3/te sts/

> Thanks,
>
> Bill

Re: Survey of unit tested OS PHP applications

am 07.12.2007 16:32:42 von bill

On Dec 2, 7:17 pm, Jerry Stuckle wrote:
> Bill wrote:
> > The best reply I have had to this post was off-line. Should the author
> > of that message grant permission, you will read more about his
> > application and tests in my presentation which I will publish under
> > the Creative Commons license after it is presented to the OINK-PUG
> > members in January.
>
> > I was confident that the response would be low, but not this low...
>
> > Regards,
>
> > BB
>
> I would suggest this is not the right place to be asking this question.
> Most of the people here are working on web sites, not open source
> applications.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================

Thanks Jerry,

However, may I respectfully suggest that you can (and likely should)
use open source PHP projects to create a wide variety of "web sites"
from blogs, to personal home pages, to enterprise web portals. I also
contend that to preserve your sanity that you use or write for
yourself software that is unit and functional tested.

The aspect of your response that is most unsettling to me is that an
individual such as yourself that works presumably as a "trainer" is
utterly unaware of TDD, as is sadly much of the PHP community. I
intend no offense in making this observation. In fact, you may be
among the top 10% of competent trainers in computing and, so long as
you're not training in software development, remain ignorant of the
concept of TDD. However, if software development is something JDS does
for profit then investigating TDD might be the smartest move you've
made in a while.

Best wishes and good luck,

Bill

Re: Survey of unit tested OS PHP applications

am 07.12.2007 17:54:08 von Jerry Stuckle

Bill wrote:
> On Dec 2, 7:17 pm, Jerry Stuckle wrote:
>> Bill wrote:
>>> The best reply I have had to this post was off-line. Should the author
>>> of that message grant permission, you will read more about his
>>> application and tests in my presentation which I will publish under
>>> the Creative Commons license after it is presented to the OINK-PUG
>>> members in January.
>>> I was confident that the response would be low, but not this low...
>>> Regards,
>>> BB
>> I would suggest this is not the right place to be asking this question.
>> Most of the people here are working on web sites, not open source
>> applications.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
>
> Thanks Jerry,
>
> However, may I respectfully suggest that you can (and likely should)
> use open source PHP projects to create a wide variety of "web sites"
> from blogs, to personal home pages, to enterprise web portals. I also
> contend that to preserve your sanity that you use or write for
> yourself software that is unit and functional tested.
>

How I work should be of no concern to you. You have no idea of my
background, experience, or the projects I work on.

> The aspect of your response that is most unsettling to me is that an
> individual such as yourself that works presumably as a "trainer" is
> utterly unaware of TDD, as is sadly much of the PHP community. I
> intend no offense in making this observation. In fact, you may be
> among the top 10% of competent trainers in computing and, so long as
> you're not training in software development, remain ignorant of the
> concept of TDD. However, if software development is something JDS does
> for profit then investigating TDD might be the smartest move you've
> made in a while.
>
> Best wishes and good luck,
>
> Bill
>

I am quite aware of TDD. But whether I am aware of it or not, and
whether I use it or not is completely immaterial to your question.

You asked about OPEN SOURCE applications. I do not do much open source;
neither do most of the people in this newsgroup.

And BTW - TDD is nothing new, nor is it the greatest thing since sliced
bread. There are a number of problems with the theory which make it
unsuitable for larger projects.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================