Testing MVC Elements and Interactions with Mock Container(abdullin.com)
submitted by
abdullin(385) 2 years, 7 months ago
Lokad Shared Libraries project includes implementation of the MockContainer that significantly simplifies testing of Model-View-Controller elements in separation. It does this by automatically generating and injecting mock objects, should the tested class ask for them in its constructor.
These mock objects are persisted in the local container instance as singleton, so that additional expectations could be recorded against them. Expectations are verified when the container is disposed...
|category: Unit Testing
|Views: 2
tags:
Testing another
Everyones tags:
Your Tags: