Problem to run MockStrutsTestCase
hai
I am using MockStrutsTestCase to test my struts application. I am getting the following error when I run my TestCase
-
Failure-2
1) testValidUserLogin(TestLoginAction) junit.framework.AssertionFailedError: Initializing application data source A
.............................
..........................
2) testInValidUserLogin(TestLoginAction) junit.framework.AssertionFailedError: Initializing application data source A
.................
...............
--
Note: I am using two database in my application so I have mentioned <data-source key:"A"> in struts-config.xml for my first database.
But I am not getting any error when I test my small struts application without database.
Can anyone tell me what is the solution for my problem, please..........
Thanks in advance.

