Hi,

I have an update for this:

- I have a working proof of concept (SUCCESS!!!!)
- This proof of concept uses dummy data for some information used in
the phpUnderControl reporting though (think: timing, number of
assertions)

What it currently does is analyse the test:all data and generate the
required xml from that. However, test:all is a summary, which means
not all information that should be available is actually available. I
will be refactoring/rewriting the mechanism to run full tests and
gather all information required for correct reporting of the data.

This whole thing is written as a plugin that simply adds a task to the
test: namespace (currently supporting 1.1, it will be interesting once
code coverage for lime becomes available ;) ). So an example call
would be:

./symfony test:undercontrol /path/to/your/cruisecontrol/project/build/
logs/phpunit.xml

afaik, the "phpunit.xml" is required for phpUnderControl to work
correctly (as that was aimed at phpUnit usage) but I haven't tested
with other paths. Anyway, the above command can easily be integrated
into your build.xml for phpUnderControl.

Unless anyone really wants to, I won't be releasing this plugin yet
until I have refactored it to actually report useful data (I want to
remove the dummy data and actually get all information to be taken
from the tests).

Stefan

On Oct 16, 9:20 pm, Stefan Koopmanschap
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I just got pointed to this thread (thanks bascht), and just wanted to
> add my two cents. I've recently began looking into integrating lime
> into phpUnderControl. I personally like the simplicity and ease of use
> of lime more than the verbosity of phpUnit unit tests (though I also
> see lots of advantages of phpUnit ;) ), so I wanted to see if I could
> somehow get them to work together.
>
> Anyway, I'll report here (and on my weblog most likely) on my progress
> (if any)
>
> Stefan
>
> On Oct 16, 6:04 pm, Sebastian Schulze <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > +1 from me. had a look on xinc today and it would be awesome to have
> > symfony integrated into some of the CI tools.
>
> > On 14 Okt., 14:34, "[EMAIL PROTECTED]"
>
> > <[EMAIL PROTECTED]> wrote:
> > > Bump.
>
> > > Anyone going to get the ball rolling on this?
>
> > > Jamie
>
> > > On 24 Set, 10:39, joshua may <[EMAIL PROTECTED]> wrote:
>
> > > > Argh, just caught the tail of this thread
>
> > > > I've been meaning for a while now to release sfPHPUnitPlugin for 1.1.
> > > > I totally have the code for it (and have been using it for about 8
> > > > months now!), just never got around to tidying up those final little
> > > > things.
>
> > > > It's, um, a fair bit different from the older plugin though. And now
> > > > thatPHPUnit3.3 is release with (allegedly) better bootstrapping
> > > > support, I think this'll cut some of the hacky gruntwork out of
> > > > bootstrapping in symfony.
>
> > > > It includes aPHPUnitcompatible sfBrowser, too. But it's maybe not
> > > > for everyone (it uses xpath instead of CSS selectors, which eased my
> > > > transition from Selenium quite nicely). It still has some issues,
> > > > though.
>
> > > > I guess I'll wait for Yannick to release, and merge in what I can? I
> > > > dunno.
>
> > > > Josh
>
> > > > On Sep 24, 5:44 pm, "Tristan Rivoallan" <[EMAIL PROTECTED]>
> > > > wrote:
>
> > > > > On Wed, Sep 24, 2008 at 4:51 AM, [EMAIL PROTECTED]
>
> > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > Tristan: It would be pretty easy to implement it in sfPHPUnitPlugin.
> > > > > > We would need to extend our container class to accept more arguments
> > > > > > (right now just the basic options are available but like i said we
> > > > > > could extend it without a problem)  I was in our plan in further
> > > > > > version to accept all arguments ofphpunitCLI  from codecoverage to
> > > > > > DBUnit.
>
> > > > > nice. i remember i had to code an ugly hack in order to get the xml
> > > > > reports i wanted last time i used it ;)
>
> > > > > > I had a talk with martin today and we would like to release
> > > > > > the plugin (alpha version) by the end of next week for both symfony
> > > > > > 1.0 and 1.1
>
> > > > > great news :)
>
> > > > > ++
> > > > > tristan
>
> > > > > --
> > > > > Tristan Rivoallanhttp://www.clever-age.com
> > > > > Clever Age - conseil en architecture technique
> > > > > GSM: +33 6 219 219 33 Tél: +33 1 53 34 66 10

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to