where it talks about extending
> AbstractTransactionalJUnit4SpringContextTests for your unit test and the like
>
> Cheers
>
> James
>
>
> -Original Message-
> From: Jake Vang [mailto:vangj...@googlemail.com]
> Sent: 21 June 2010 17:27
> To: Struts Users Mailing List
> Subject:
AbstractTransactionalJUnit4SpringContextTests for your unit test and the like
Cheers
James
-Original Message-
From: Jake Vang [mailto:vangj...@googlemail.com]
Sent: 21 June 2010 17:27
To: Struts Users Mailing List
Subject: Re: unit test the service layer (aka data access layer)
james
james,
would setting up the unit test in that way load up the service class
as if it would in in the J2EE container?
the reason why i asked is because in the tutorial, as far as i
understand, they have wired in using Spring a transaction manager.
that means in my service object, when i call updat
Get involved with:
Junit 4.4
Spring-test libs
And started your service test class like such:
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:/testConfigXML.xml")
public class MyServiceImplTest extends AbstractJUnit4SpringContextTests
{
@Autowired(require
4 matches
Mail list logo