Hi Marvin,

On Wed, Jun 3, 2009 at 6:05 PM, Marvin Froeder <[email protected]> wrote:

> Sorry, no support for flexunit 4 yet....


no reason to apologize... :)

>
> What people usually to is create the test launch on the main source folder
> and keep the test classes on src/test/flex.
>
> On SWC project I set src/test/flex as my main source folder.  Unfortunately
> on SWF projects this is not possible.
>

Thanks for the hint, will try tomorrow... Any good links to blogs which
handle this topic?

>
> BTW, what did you think about flexunit support on flashbuilder 4? I did
> expected more... and you?
>

Well, Flexunit 4 is not supported, main thing is the test class generator...
What I expected is a way to test private methods, that's the reason I did
check out the beta. What I do with private methods: I created a namespace
'friend' to keep the private methods non-public, the test class as the
productive class use the namespace (unfortunately FlexBuilder crashes the
imports very often :/). Any other ideas?

What did you expect for testing support? And always remember, it's still not
a release version :).

Mario

>
>
> VELO
>
>
> On Wed, Jun 3, 2009 at 1:01 PM, Mario <[email protected]> wrote:
>
>>
>> Hi,
>>
>> I have a problem with my Flex project structure. It's not a Flexmojos
>> problem, but as Flexmojos supports FlexUnit (already Version 4?), a
>> lot of you must have the same issue...
>>
>> Let's say we have a very little project which has two paths
>>
>> -src/main/flex
>> -src/test/flex
>>
>> In Flex Builder (also Flash Builder 4) you can just define a 'Main
>> source folder', but not a 'Test source folder'. So do you split your
>> project like proposed at
>> http://raptureinvenice.blogspot.com/2008/04/better-way-to-set-up-flexunit.html
>> .
>>
>> Flash Builder 4 supports creation of test classes, but creates it in
>> the same directory as the class to be testet :/
>>
>> Any suggestions welcome. Thanks!
>>
>>
>
> >
>


-- 
Mario Ernst

--~--~---------~--~----~------------~-------~--~----~
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