On Wed, Sep 30, 2009 at 7:40 AM, Marvin Froeder <[email protected]> wrote:
> I have no plans of working on it... Flexcover support was originally add by
> Logan, @Logan any plans?

I would like to get it fully working, but right now I don't have much
time. I never got it completely integrated with our maven build, but
we can get flexcover to work through several manual steps.

It should be easier now, since someone wrote a non-AIR coverage
viewer, which will simplify launching. I would love to integrate this
when I get some time, but I haven't looked at it yet.

IIRC (I haven't done it in a while), our process involves:
1. Get the modified flexcover version of the sdk installed in your
local repo (this can be tricky)
2. Have your mvn build point to the modified flex sdk (we use a
profile for this)
3. There is a custom flex-config.xml with a <coverage>true<coverage>
section in it, that has to be set as the flex config file. It's part
of flexcover support in flexmojos, but I remember sometimes it doesn't
work right and I have to manually fix it.
4. You run flexcover and it generates .cvm files
5. You launch coverageviewer with all the .cvm files loaded in
6. You run your tests with flexmojos with coverageviewer running

We stopped running the tests with flexmojos due to a timing bug where
coverageviewer doesn't capture all the output before it quits. So we
do step 6 in Flex Builder, running each test suite manually :( (we
only report flexcover stats once a month). This could probably be
quickly fixed with a sleep or timer that waits a bit at the end before
ending the tests.

I'll try to answer questions if you are having trouble. Once our
project ships in Nov., I hope to have more time to get it working
better, so it just works as part as your normal mvn build.

Our build is still stuck in Flexmojos 2.x and Maven 2.0.9 due to
various bugs and time constraints, so if there are issues in newer
versions, we haven't tried them out yet.

Logan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" 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/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to