Hello Matt, thanks for the speedy and informative reply (and it worked). Now, I am back at just [testing]: I have 4 testcases that mirror and are parallel to the appfuse testcases: UserListTest, UserFormTest, UserManagerTest and UserManagerImplTest. The UserManagerImplTest is key as my corrsponding xxxManagerImpl.java contains the annotation:
@Service(value = "xxxManager")
When I run the maven tests I get the surefire test with the following:
Unsatisfied dependency expressed through bean property 'xxXManager' <--- (one uppercase letter)
And, of course the dependency is not satisfied because there is no such bean as: xxXManger only as defined in the xxxManagerImpl.java (as stated above) which is namely: xxxManager.
If I edit xxxManagerImpl to reflect:
@Service(value = "xxXManager") then the surefire tests (xxxFormTest and xxxListTest) will state:
No bean named 'xxxManager' is defined
How to debug this?
Any help or suggestions appreciated. Regards, David.
----- Original Message -----
From: "Matt Raible" <
matt@...>
To:
users@...
Sent: Monday, June 22, 2009 2:59:05 PM GMT -06:00 US/Canada Central
Subject: Re: [appfuse-user] appfuse WebTestCase: UserWebTest (test) not running under: mvn test
It runs in the integration-test phase, not the test phase.
Matt
On Sun, Jun 21, 2009 at 12:52 PM, David Brown <
dbrown@...
> wrote:
> Hello Matt and appfuser folks, I have an [ant new]
> appfuser-wicket-spring-ibatis application in dev. All of the out-of-the-box
> tests the extend: AbstractTransactionalDataSourceSpringContextTests are
> running. But the UserWebTest test extends: WebTestCase but does not show up
> in the Console list of tests executed. Is there some missed config to turn
> on testing for the web testing units? Previously, I have been able to simply
> add a test unit to the web/pages directory and the test is executed. None of
> the web/ directory pages are executed. Please advise, David.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@...
> For additional commands, e-mail:
users-help@...
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...