Page 1 of 1

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

Posted: Sun Jan 18, 2009 8:42 am
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!

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

Posted: Sun Jan 18, 2009 4:19 pm
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.

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

Posted: Sun Jan 18, 2009 5:00 pm
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.

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

Posted: Mon Jan 19, 2009 12:13 am
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...

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

Posted: Wed Jan 21, 2009 1:17 pm
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!

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

Posted: Wed Jan 21, 2009 1:19 pm
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.

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

Posted: Sat Jan 24, 2009 11:35 pm
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.

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

Posted: Sun Jan 25, 2009 1:16 am
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.

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

Posted: Sun Jan 25, 2009 3:29 am
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.

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

Posted: Sun Jan 25, 2009 4:22 am
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.

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

Posted: Mon Jan 26, 2009 4:28 am
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