Assertfail

All Posts assertfail

View the Blog on GitHub wallymathieu

TDD in the browser using knockout js

24 Oct 2011

Since you your view model can be oblivious of your views (html) you can write unit tests for functionality quite far out into the gui. You can then use TDD to develop your view models. I’ve seen examples of testing where you include the views.

Tags

  • javascript
  • knockout
  • unit-test
  • Comments or errors? Fork post and do a pull request on github