Unit testing, Bug Tracking, PHPDoc, SVN, Scrum...all in one

Discussion of testing theory and practice, including methodologies (such as TDD, BDD, DDD, Agile, XP) and software - anything to do with testing goes here. (Formerly "The Testing Side of Development")

Moderator: General Moderators

Post Reply
User avatar
josamoto
Forum Commoner
Posts: 41
Joined: Fri Aug 24, 2007 6:57 am
Location: South Africa
Contact:

Unit testing, Bug Tracking, PHPDoc, SVN, Scrum...all in one

Post by josamoto »

I came across a very interesting looking application
http://www.phpundercontrol.org/
and looks like a very nice tool indeed.

It got me wondering however, are there any Suites available that assist with the everyday concepts of Scrum software development, in other words, are there any applications out there, that are open source, written in PHP that integrate the following tasks:
  • Unit Testing (supporting different frameworks like PHPUnit / Lime from Symfony)
    Bug Tracking
    Building PHP Documentation
    Subversioning
    Assisting with Scrum aspects like User stories, tasks etc?
Thanks!
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Unit testing, Bug Tracking, PHPDoc, SVN, Scrum...all in one

Post by Chris Corbyn »

No, there aren't. I'm not sure what the value of such a software package would be since unit tests for one often have to be customized and integrated close to the code.

Subversion is usually a hosted solution and not something that would "just work" with a few PHP scripts in a web app. It needs to be correctly configured, either with a SSH tunnel, or with WebDAV and apache.

Bug Tracking and Doc generation I could see working in the same app, but the rest, not so much. Effectively some of the things you're looking for in an app are frameworks for development, not GUI-facing tools that belong in an application.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Unit testing, Bug Tracking, PHPDoc, SVN, Scrum...all in one

Post by Eran »

Does anybody else wonders how come SVN hasn't gotten a real web GUI yet? I mean, there are some where you can traverse the repository, which is nice, but for performing actual SVN commands without opening a shell and checking up the syntax there is nothing much out there.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Unit testing, Bug Tracking, PHPDoc, SVN, Scrum...all in one

Post by Chris Corbyn »

pytrin wrote:Does anybody else wonders how come SVN hasn't gotten a real web GUI yet? I mean, there are some where you can traverse the repository, which is nice, but for performing actual SVN commands without opening a shell and checking up the syntax there is nothing much out there.
There are heaps of GUI tools for svn. Just not web ones. How would it work? I can't see it being very easy to do a "svn st" then a "svn commit", "svn merge", "svn switch" or "svn up" over HTTP via a web browser.

There are Web-based GUI front-ends purely for displaying changes etc though...
User avatar
josamoto
Forum Commoner
Posts: 41
Joined: Fri Aug 24, 2007 6:57 am
Location: South Africa
Contact:

Re: Unit testing, Bug Tracking, PHPDoc, SVN, Scrum...all in one

Post by josamoto »

One of the best UI clients for SVN we use is http://tortoisesvn.tigris.org/ which is only for Windows. I think Tigris also offer RapidSVN which is more platform independent.

I have come accross a PHP web application (sorry, I lost the link) that does SVN tasks like commit and update. It is fairly easy as you can execute command line functions from PHP using backticks. So you'll create an HTTP request to a "RESTful service" that will call the SVN via backticks and report back with the result. Or you could just send attributes as POST / GETS, interpret them with PHP and respond by making the appropriate SVN command line calls.

We're in the process of trying out CruiseControl with PHPUnderControl, which does
- building of PHPDocs
- Running unit tests and graphically displaying the results
- Checks coding standards and violations.

So there are apps with basic functionality. It would be nice to integrate even more, having the above, included in project management tools like VersionOne, which, if you're using Scrum, might even show the commits done for a particular sprint or task in a sprint.

I do agree, these features are to be kept separate from the actual project, it must perform all these required tasks non-intrusively.

Thanks for the replies!
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Unit testing, Bug Tracking, PHPDoc, SVN, Scrum...all in one

Post by Eran »

Thanks josamoto, I've been using tortoise for years. I've been wondering about a web gui
There are heaps of GUI tools for svn. Just not web ones. How would it work? I can't see it being very easy to do a "svn st" then a "svn commit", "svn merge", "svn switch" or "svn up" over HTTP via a web browser.
The point it not to perform commit/updates - obviously those require the actual source. I'm talking about configuring the directory structure, setting up svn repositories, maintainence etc. Right now you have to do all of those via SSH using arcane syntax.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Unit testing, Bug Tracking, PHPDoc, SVN, Scrum...all in one

Post by josh »

pytrin wrote: Right now you have to do all of those via SSH using arcane syntax.
Nuh uh!, repo browser w/ tortise on win.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Unit testing, Bug Tracking, PHPDoc, SVN, Scrum...all in one

Post by Chris Corbyn »

jshpro2 wrote:
pytrin wrote: Right now you have to do all of those via SSH using arcane syntax.
Nuh uh!, repo browser w/ tortise on win.
Also, "Versions" Cocoa app on OS X.

Very much appreciating the simplicity of git these days. It's just become habit to do a "git init" locally when I start a project, and if I decide to move it to github all I need to do is a "git push" to github.
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Re: Unit testing, Bug Tracking, PHPDoc, SVN, Scrum...all in one

Post by jmut »

As of svn, it took me 1 day to totally love the cli. There are no more than 10 commands you use and they are all alike. No overhead of additional applications, no missing functionality due to gui client not implementing something.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Unit testing, Bug Tracking, PHPDoc, SVN, Scrum...all in one

Post by josh »

Cool, my workflow is basically write tests, check in code, code gets exported onto linux box by svn hook script ( bash ), I then run phpdocumentor manually since it takes forever to compile to ZF, so I usually run it w/o but for more "permanent" check ins I generate with ZF parsing so I get "interlinking" between my docs and theirs. I only wish there were a better cache tier so it didn't take an hour of 100% CPU to re-parse unchanged code.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Re: Unit testing, Bug Tracking, PHPDoc, SVN, Scrum...all in one

Post by Jenk »

pytrin wrote:Thanks josamoto, I've been using tortoise for years. I've been wondering about a web gui
There are heaps of GUI tools for svn. Just not web ones. How would it work? I can't see it being very easy to do a "svn st" then a "svn commit", "svn merge", "svn switch" or "svn up" over HTTP via a web browser.
The point it not to perform commit/updates - obviously those require the actual source. I'm talking about configuring the directory structure, setting up svn repositories, maintainence etc. Right now you have to do all of those via SSH using arcane syntax.
?

Code: Select all

svn mkdir svn://hostname/reponame/dir
Post Reply