Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Testing CanJS Web Apps

$
0
0
Thank you for your reply. 

I would like to know how to test a can controller. How do i trigger events in a controller.
I'm thinking of mocking my controller's dependencies and trigger all my controller actions in my test and test my DAO mocks that are used by my services in my can controller. Your API does not list a way of triggering all controller events that are registrated by the programmer when a controller is created.

Thanks again.

Viewing all articles
Browse latest Browse all 3491

Trending Articles