Link to home
Start Free TrialLog in
Avatar of Camillia
CamilliaFlag for United States of America

asked on

IoC for unit testing?

(Even tho I've resigned, I still want to help the team out before I leave on Friday)...

Our code is MVC , C# with EF 6. The mid developer on the team is going on and on about adding IoC to the code, gut it out whatever , to add unit testing. He said IoC for unit testing because we don't have any unit testing in the solution.

What is he talking about?  It's not a huge solution and not a complicated project.

I found this
https://stackoverflow.com/questions/1465849/using-ioc-for-unit-testing

and this http://duanenewman.net/blog/post/better-unit-testing-with-ioc-di-and-mocking/

I know this an open question... but should he do this? Would it add complexity to the code that's already suffering from performance issues and is an old code....written 5 or 6 yrs ago.
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America 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
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
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 Camillia

ASKER

Great input. Thanks, guys