Testing Javascript that Manipulates the DOM
I have found the Javascript/DOM tests, especially for the simple interactions that you are describing, are not that useful. You’ll testing that things are set up right, and since jQuery is so declarative, your tests look a lot like your code. My current thinking is that if you are writing larger JS components, it makes … Read more