Camillia
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER