5 ms·
Most frameworks it is not possible to do proper unit test. With Angular, you can actually do it. As the controller is totally separate from the view (html/dom).
by vtry 14y ago
Most frameworks it is not possible to do proper unit test. With Angular, you can actually do it. As the controller is totally separate from the view (html/dom).
- steve-sanderson 14y agoOK. I was just taking it for granted that it was easy, because the same is true in Knockout (viewmodels are entirely independent of views, and so are trivial to unit test with QUnit or whatever else).
- vtry 14y agoPretty much only Angular and KnockOut and maybe 1 other js framework can do real unit test