You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Miguel Almeida <mi...@almeida.at> on 2011/11/24 13:05:11 UTC
StrutsSpringTransactionalTestCase - possible contribution
Dear all,
I'm using StrutsSpringTestCase for some under-the-skin tests.
However, I felt the need to set up my database for a test. My tests that
need the database extend from
AbstractTransactionalJUnit4SpringContextTests, which makes them
transactional.
I therefore created a StrutsSpringTransactionalTestCase that merges the
behaviour of both StrutsSpringTestCase and
AbstractTransactionalJUnit4SpringContextTests. I currently just
copy-pasted the relevant information from
AbstractTransactionalJUnit4SpringContextTests.
I'd like you to take a look at it and comment on whether it makes sense
to include this in Struts. If so, feel free to use my contribution.
Cheers,
Miguel Almeida
Re: StrutsSpringTransactionalTestCase - possible contribution
Posted by Miguel Almeida <mi...@almeida.at>.
On Thu, 2011-11-24 at 13:09 +0100, Christian Grobmeier wrote:
> Hello,
>
> this one looks interesting (I am not a Struts committer, just to
> mention). I will look into it as of interest, because I probably can
> use it.
>
> Anyway the usual way to get patches in is to create an issue here:
> https://issues.apache.org/jira/browse/WW
> and to attach the file to that issue.
>
Done: https://issues.apache.org/jira/browse/WW-3711
Re: StrutsSpringTransactionalTestCase - possible contribution
Posted by Christian Grobmeier <gr...@gmail.com>.
Hello,
this one looks interesting (I am not a Struts committer, just to
mention). I will look into it as of interest, because I probably can
use it.
Anyway the usual way to get patches in is to create an issue here:
https://issues.apache.org/jira/browse/WW
and to attach the file to that issue.
Please don't forget to tickle the "I allow the aSF to use my code"-box.
Cheers,
Christian
On Thu, Nov 24, 2011 at 1:05 PM, Miguel Almeida <mi...@almeida.at> wrote:
> Dear all,
>
> I'm using StrutsSpringTestCase for some under-the-skin tests.
>
> However, I felt the need to set up my database for a test. My tests that
> need the database extend from AbstractTransactionalJUnit4SpringContextTests,
> which makes them transactional.
>
>
> I therefore created a StrutsSpringTransactionalTestCase that merges the
> behaviour of both StrutsSpringTestCase and
> AbstractTransactionalJUnit4SpringContextTests. I currently just copy-pasted
> the relevant information from AbstractTransactionalJUnit4SpringContextTests.
>
> I'd like you to take a look at it and comment on whether it makes sense to
> include this in Struts. If so, feel free to use my contribution.
>
> Cheers,
>
> Miguel Almeida
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
--
http://www.grobmeier.de
https://www.timeandbill.de
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org