Link to home
Start Free TrialLog in
Avatar of dkim18
dkim18

asked on

Use Spring for JUnit testing

Hi,

I have a java application and need to write up some Junit test cases.
My team wants to play around with the Spring framework.

Can not figure out if this can be doable without changing any code.
Of course we can create new classes but I am not sure if this is appropriate.

The java application does't use the Spring framework but wants to the use the Springframework for JUnit testing.

What do you think?.
ASKER CERTIFIED SOLUTION
Avatar of sweetfa2
sweetfa2
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dkim18
dkim18

ASKER

I think I will just create one example using one dao by showing how to inject one of dao classes into that example class.
I am still not sure what exactly you want to achieve.