PHPUnit plugin

Niko Sams niko.sams at gmail.com
Tue Jun 14 12:04:50 UTC 2011


On Tue, Jun 14, 2011 at 11:32, Davide Simoncelli <netcelli.tux at gmail.com> wrote:
> On Tuesday 14 June 2011 08:55:24 you wrote:
>> On Monday 13 June 2011 19:16:54 Niko Sams wrote:
>> > Hi,
>> >
>> > such a plugin would be *very* useful too me, as I run php unit tests
>> > all the time
>> > from the commandline.
>> >
>> > I don't know your plans, but a project plugin sounds wrong. Could you
>> > please elaborate
>> > what are you trying to do.
>>
>> The plugin should be able to:
>> - create unit test
>> - create test suite by adding existing test case (by using filesystem or XML
>> file)
>> - run all tests or a specific selected test/suite
>> - show tests results in a toolview (maybe something like this:
>> https://picasaweb.google.com/lh/photo/jAHH2GVaOVp5gZAJKMImwOlnU9s5bi9I3sDhrU
>> bwi2U?feat=directlink)
>>
>> Tests will be created in a given directory (maybe default to root project-
>>
>> >tests) that can change between different projects and can also depends on
>>
>> which PHP framework you are using.
>>
>> > ...there is was genric unit test infrastructure in KDevelop, called
>> > Veritas, but it got unfortunately moved
>> > to playground as it wasn't maintained.
>>
>> I will have a look on it!
>>
>> > Niko
>> >
>> > On Mon, Jun 13, 2011 at 18:43, Davide Simoncelli
>> > <netcelli.tux at gmail.com>
>>
>> wrote:
>> > > Hello,
>> > >
>> > > I'm developing PHPUnit plugin to run php tests and it will be
>> > > possible
>> > > to
>> > > create and run test suites. I will work on it in my spare time.
>> > >
>> > > But I have a question: the plugin is a project plugin and it just
>> > > makes
>> > > sense in PHP project; do you know how can I load plugin just for PHP
>> > > projects?
>> > >
>> > > Thx
>> > >
>> > > -- Davide
>> > >
>> > >
>> > > --
>> > > KDevelop-devel mailing list
>> > > KDevelop-devel at kdevelop.org
>> > > https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
>
> Veritas is very interesting and I can implement PHPUnit plugin with Veritas.
> But why is Veritas in playground? Is it unmantained?
yes, it would be perfect for your needs. And the good thing is that
it's generic and
can be used with any other unit testing library.

I don't know how much work is needed to get it back into kdevplatform
- and yes it's
original author left development, so it is unmaintained atm.

Niko




More information about the KDevelop-devel mailing list