mardi 28 avril 2015

Should I test data-bind attributes with knockout? How?

Should I test data-bind attributes with knockout? How?

My gut feeling is that I should because if I test my view models, and make sure the data-bind attributes are set, then I'm pretty confident in my app without requiring exhaustive browser tests (just need to test the main parts).

On the other hand the tests will be very brittle and it feels like testing the internal implementation of the view.

Aucun commentaire:

Enregistrer un commentaire