473,668 Members | 2,449 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Survey of unit tested OS PHP applications

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
Nov 28 '07 #1
8 1568
On Nov 27, 11:58 pm, Bill <booksmartbi... @gmail.comwrote :
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
Nov 28 '07 #2
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
Dec 2 '07 #3
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.
js*******@attgl obal.net
=============== ===

Dec 3 '07 #4
On Dec 2, 7:17 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
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...@attgl obal.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
Dec 7 '07 #5
Bill wrote:
On Dec 2, 7:17 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>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...@attg lobal.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.
js*******@attgl obal.net
=============== ===

Dec 7 '07 #6
On Dec 7, 11:54 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
Bill wrote:
On Dec 2, 7:17 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
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...@attgl obal.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.
jstuck...@attgl obal.net
=============== ===
Jerry,

Your stress level appears as high as mine was back in the days before
I became a fan of TDD. My intent was merely to be helpful. But, since
you insist...

You've misquoted my original question. I asked readers to name any
"open source PHP applications" they are familiar with that have good
test coverage. This being the "comp.lang. php" group I felt it was the
most appropriate place for such a post. Can you suggest a better
place?

Seriously, I hope I did not hurt your feelings too badly and that you
don't mind if I feature quit a bit of this exchange during my
presentation in January, what with our comments all being part of the
public domain and all... Don't worry. I won't use your real name or
make reference to your company.

Again, I will wish you good luck. It sounds as if you'll need it.

Sincere best wishes,

Bill
Dec 10 '07 #7
Bill wrote:
On Dec 7, 11:54 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>Bill wrote:
>>On Dec 2, 7:17 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
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
applicati on 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...@at tglobal.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.
jstuck...@attg lobal.net
============== ====

Jerry,

Your stress level appears as high as mine was back in the days before
I became a fan of TDD. My intent was merely to be helpful. But, since
you insist...
Not at all. My stress level is just fine.
You've misquoted my original question. I asked readers to name any
"open source PHP applications" they are familiar with that have good
test coverage. This being the "comp.lang. php" group I felt it was the
most appropriate place for such a post. Can you suggest a better
place?
No, I understood your question. And my response was accurate. Most of
the people here work on web sites, not open source applications. If you
want those, try searching out the applications themselves and ask people.
Seriously, I hope I did not hurt your feelings too badly and that you
don't mind if I feature quit a bit of this exchange during my
presentation in January, what with our comments all being part of the
public domain and all... Don't worry. I won't use your real name or
make reference to your company.
No, you may NOT quote me in your presentation. My comments are NOT part
of the public domain under either U.S. or international Copyright law;
I have not specifically released them to the public domain so they
remain my comments. And you do not have permission to use them or my
name in your presentation.

And any attempt to do so will result in legal action against both you
and OINK-PUG.
Again, I will wish you good luck. It sounds as if you'll need it.

Sincere best wishes,

Bill
I need no luck at all. I'm doing just fine.

And, for your information - I have about 40 years of programming
experience. I have been an independent consultant for over 17 years,
training and managing projects - including design.

In that time, I have seen virtually every design/test methodology that
gathered any following at all. And TDD, like every single other one,
has its good points and its bad points. TDD works on some projects, but
is not a good methodology for all projects.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===

Dec 10 '07 #8
On Dec 10, 1:33 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
Bill wrote:
On Dec 7, 11:54 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
Bill wrote:
On Dec 2, 7:17 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
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
applicatio n 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
application s.
--
============= =====
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@att global.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.
jstuck...@attgl obal.net
=============== ===
Jerry,
Your stress level appears as high as mine was back in the days before
I became a fan of TDD. My intent was merely to be helpful. But, since
you insist...

Not at all. My stress level is just fine.
You've misquoted my original question. I asked readers to name any
"open source PHP applications" they are familiar with that have good
test coverage. This being the "comp.lang. php" group I felt it was the
most appropriate place for such a post. Can you suggest a better
place?

No, I understood your question. And my response was accurate. Most of
the people here work on web sites, not open source applications. If you
want those, try searching out the applications themselves and ask people.
Seriously, I hope I did not hurt your feelings too badly and that you
don't mind if I feature quit a bit of this exchange during my
presentation in January, what with our comments all being part of the
public domain and all... Don't worry. I won't use your real name or
make reference to your company.

No, you may NOT quote me in your presentation. My comments are NOT part
of the public domain under either U.S. or international Copyright law;
I have not specifically released them to the public domain so they
remain my comments. And you do not have permission to use them or my
name in your presentation.

And any attempt to do so will result in legal action against both you
and OINK-PUG.
Again, I will wish you good luck. It sounds as if you'll need it.
Sincere best wishes,
Bill

I need no luck at all. I'm doing just fine.

And, for your information - I have about 40 years of programming
experience. I have been an independent consultant for over 17 years,
training and managing projects - including design.

In that time, I have seen virtually every design/test methodology that
gathered any following at all. And TDD, like every single other one,
has its good points and its bad points. TDD works on some projects, but
is not a good methodology for all projects.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===
I'll remove the X and send you a copy...

Respectfully,

Bill
Dec 10 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3065
by: Edvard Majakari | last post by:
Hi, I just found py.test and converted a large unit test module to py.test format (which is actually almost-no-format-at-all, but I won't get there now). Having 348 test cases in the module and huge test classes, I started to think about splitting classes. Basically you have at least three obvious choises, if you are going for consistency in your test modules: Choise a:
6
4402
by: Droopy | last post by:
Hi, I want to add unit tests in my application using NUnit. At first, I thought to add unit tests in the class that is tested, enclosed in a conditional attribute to remove these unit tests from release code. Though, there is (at least) 2 problems working like that : 1) the class can becoming very large if there is a lot of tests 2) when releasing, the NUnit dll should not be needed => it should not be referenced.
25
2586
by: acemtp | last post by:
Hello, I would like to show you a new collaborative website for javascript programmer. It's quite hard to know if some specific code you wrote will work on all browsers, and if not, why it doesn't work. You often have to install lot of browsers on your computer, buy a mac or a pc, and make unit tests.
10
5764
by: gamename | last post by:
Hi, Currently, I'm using CUnit as a unit test tool. But there is one thing it really lacks: function mocking. In other words, changing what really gets called in subordinate routines so that a function being tested has predictable behavior. I know that CGreen has this ability, but it doesn't seem to work on Cygwin. Also, its yet-another-tool to invest time on . Is there any way to get this functionality in CUnit? Or, is there a
176
8337
by: nw | last post by:
Hi, I previously asked for suggestions on teaching testing in C++. Based on some of the replies I received I decided that best way to proceed would be to teach the students how they might write their own unit test framework, and then in a lab session see if I can get them to write their own. To give them an example I've created the following UTF class (with a simple test program following). I would welcome and suggestions on how anybody...
0
973
by: willhardy | last post by:
Dear .NET developers, I'm currently part of a research team at the Free University of Berlin, looking into the ways in which the major web development platforms differ. In addition to our work with the Plat_Forms contest, we're now looking for opinions based in professional experience. If you have practical experience in the development of non-trivial web applications with two or more web development languages then we would like you...
5
2240
by: Ben Finney | last post by:
Howdy all, PEP 299 <URL:http://www.python.org/dev/peps/pep-0299details an enhancement for entry points to Python programs: a module attribute (named '__main__') that will be automatically called if the module is run as a program. The PEP has status "Rejected", citing backward-compatibility issues, and Guido's pronouncement that "It's not worth the change (in docs, user habits, etc.) and there's nothing particularly broken."
20
2424
by: earthwormgaz | last post by:
Hello, I'm after doing some C++ unit testing, I'm using CppUnit. I like the look of RudeMocks, but it doesn't work for Solaris/Sparc, so its no good to me sadly. So, I have class A, and it uses classes B and C. B and C have methods A uses, but they're not virtual, and I don't want to hack the code so that they are just to allow Unit Tests to work. This means that inheriting from B and C to provide Mock classes is a non starter.
10
3911
by: Brendan Miller | last post by:
What would heavy python unit testers say is the best framework? I've seen a few mentions that maybe the built in unittest framework isn't that great. I've heard a couple of good things about py.test and nose. Are there other options? Is there any kind of concensus about the best, or at least how they stack up to each other? Brendan
0
8459
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8790
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8572
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7391
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6206
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2782
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1779
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.