PHPUnit plugin progress

Davide Simoncelli netcelli.tux at gmail.com
Tue Jul 5 14:26:27 UTC 2011


On Tuesday 21 June 2011 09:21:40 Niko Sams wrote:
> On Tue, Jun 21, 2011 at 08:59, Davide Simoncelli <netcelli.tux at gmail.com> 
wrote:
> > On Sunday 19 June 2011 20:04:33 Milian Wolff wrote:
> >> Davide Simoncelli, 19.06.2011:
> >> > Hey all,
> >> > 
> >> > I'm developing the PHPUnit plugin and rigth now it is able to:
> >> > 
> >> > - parse phpunit.xml file and configure  PHPUnit's core
> >> > functionality via project setting
> >> > - configure the path to phpunit executable via kdevelop setting
> >> > - configure test folder
> >> > - collect test cases
> >> 
> >> sounds great!
> >> 
> >> > I'm able to run tests too but I'm still writing the output parser
> >> >  to
> >> > create results.
> >> > 
> >> > I would like to fix some UI problems in Veritas first.
> >> 
> >> Yeah, feel free to hack it up as you like. If you are only changing UI
> >> stuff, go ahead as you like. If you change internals and public API
> >> please document these changes and/or adapt the ctest plugin (which is
> >> - afair - still supposed to work with the veritas plugin).
> >> 
> >> > I tried to create a
> >> > personal clone of Veritas but I can't clone it because it says I
> >> > have no read permission  to playground/devtools/veritas.
> >> 
> >> Local clone on your machine or a remote clone? If the latter - no need
> >> for that. Just work on master as you like.
> >> 
> >> Bye
> > 
> > Well, I simply used the command as kde git manual says:
> > http://community.kde.org/Sysadmin/GitKdeOrgManual#Personal_clones_of_pro
> > ject_repositories Rigth now I commit changes to my local repo.
> 
> You don't need a personal clone. Just push into the main repository.
> The personal clone would only be needed for private experimental branches.
> 
> Niko

Plugin is now usable and it is available at: 
http://quickgit.kde.org/?p=scratch%2Fdavidesimoncelli%2Fkdev-phpunit.git.

Current features are:
- find test suites and classes starting from test folder and phpunit.xml file
- run tests (it is possibile to select also single test case)
- manage logs that may be generated when running phpunit
- configure PHPUnit's core functionality

Still todo:
- manage custom testsuites
- test case generation (also something should be implemented in veritas so it 
can be shared with other plugins like qtests)
- SeleniumRC tests
- code coverage support (?)





More information about the KDevelop-devel mailing list