Screw.Unit: Behavior-driven Testing in JavaScript
github.com
github.com
This framework interests me, but to be honest I am too lazy to figure out how capable it is and how I am supposed to use it. I'd really like to see screw-unit in action; some kind of solid, real world example.
I'd really like to see a test suite for an actual javascript application, like that "vi written in javascript". But with the application written using best practice Javascript techniques (not polluting the global namespace etc). Basically a non-trivial example that I can examine and then adopt the techniques used.
The area that I am most interested in is how to test DOM object manipulations. If I click on object 1 does object 2 move to x,y co-ordinates, stuff like that.