http://www.sonatype.com/people/2009/06/integration-tests-with-maven-part-1-failsafe-plugin/
=D

On flex I don't do IT.... again, you can do it with regular unit
test / junit / surefire....  but it is meant for unit tests and
sometimes you get to restraint with it.


VELO

On Dec 11, 2:10 pm, christian <[email protected]> wrote:
> What plugins do you use then for IT's ?
>
> On Dec 11, 5:07 pm, velo <[email protected]> wrote:
>
> > I'm not saying to no user FlexUnit or JUnit... we do that as works
> > well... but we do no mix our UTs with our ITs....
>
> > They are executed on separated phases, by different plugins, that
> > allow me to start any services required by my ITs....
>
> > In fact, this is the only one issue know at this moment, who knows
> > what else you can find =D
>
> > Anyway, I think would be really nice to have an IT plugin, that load
> > browser to run the tests, but I have no plans of going near something
> > like that =/
>
> > VELO
>
> > On Dec 11, 12:29 pm, christian <[email protected]> wrote:
>
> > > I've written tons of integration tests using JUnit in the past. It's
> > > fast and convenient because you can use all existing unit test tools
> > > at your disposal.
> > > It looks like this is really the only issue standing in the way of
> > > integration testing with FlexUnit/Mojos.
> > > But the weird thing is that it works on windows ... beats me ...
>
> > > On Dec 11, 1:25 pm, velo <[email protected]> wrote:
>
> > > > Well, accessing a service is way of the scope of unit test... I know
> > > > it is possible, but unit tests are supposed to check pieces of code,
> > > > not if the whole system is work, that is more integration test role.
>
> > > > I usually use swiz on my project so I do replace my RemoteObjects with
> > > > mock objects that will return simple values that allow me to tests
> > > > whatever I wanna test w/o accessing the server.
>
> > > > But if you really wanna go this integration test way it would be
> > > > necessary to create a new goal capable of handling the browser.
>
> > > > VELO
>
> > > > On Dec 11, 9:17 am, christian <[email protected]> wrote:
>
> > > > > Hi,
>
> > > > > I'm having the exact same problem as explained in this post:
>
> > > > >http://www.webappsolution.com/wordpress/2009/11/25/flexunit-4-testing...
>
> > > > > The problem is that our tests need to run in flexmojos, which starts
> > > > > the plashplayer directly => no cookies.
>
> > > > > Does anyone have a bit more insight on the flashplayer/cookie issue?
> > > > > What we have seen in our team is that these kind of tests work
> > > > > perfectly on a windows machine, while they don't work on mac/linux.
> > > > > What could be different about these setups that make it work on
> > > > > windows and not on mac/linux? Does the windows version support cookies
> > > > > and the others not??
>
> > > > > I've spent 2 days trying to find a way to make these tests work in
> > > > > flexmojos. Any help would be greatly appreciated!
>
> > > > > Christian

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