Archive for the ‘jasmine’ Tag
We ended with engaged group discussion regarding issues js work faces: including language quirks, project management focus on server-side quality, and the 20 different ways to create a class.
There was a little talk of tools. Or lack of tools. One person had tried NetBeans, one person mentioned js-Eclipse as working nicely, 2 mentioned Aptana, the rest are using text editors of various kinds. As someone who transitioned from finding IDEs an interference to relying on them as a productivity tool, I am still amazed that js tooling is so immature in 2010 that a text editor is the most efficient way to develop. It was interesting that most use TDD in their daily work, but few use TDD specifically in their js work.
Notes: Unit Test Framework
Selenium – record and playback tool. Standard problems with record and playback– time spent re-recording/updating tests.
Many abandoned js unit test frameworks out there. jsUnit is used by many but is not actively developed. The 3 active ones are
- jasmine – Justin’s preferred. Runs on HTMLUnit. Behavior Driven Development.
- jsTestRunner – runs on real browsers, has IDE plugins including Eclipse plugin, cumbersome setup
- qunit (jquery project)
Notes: Craftsmanship tools people find useful
Notes: Learning Resources
- js koans – like Ruby koans. Learn functional js.