I agree 100% there are many things that need to be pushed more in
JavaScript and testing is right at the top of that list, I did a bit
of a round up of testing options in a blog post a couple of weeks
back:
http://chrisincambo.wordpress.com/2008/07/14/javascript-behavior-driven-development-test-driven-development-tools-roundup/
And by coincidence around the time I posted that, two more mocking
frameworks and one new bdd framework were released. Well one of them
was no coincidence, as I wrote it after writing that article.
You can check it out here -
http://code.google.com/p/amok/ I would
appreciate any feedback any of you might have if you get a chance to
use it.
Then over on GitHub I found some new tools with cool names:
Screw-Unit from Andy Kent which is a new bdd framework which closely
follows the DSL of RSpec -
http://github.com/nkallen/screw-unit/tree/master
And
Smoke which is the mocking framework designed for use with Screw-Unit,
which also closely follows the DSL of the RSpec mocking framework -
http://github.com/andykent/smoke/tree/master
Although amok has taken a very different approach in terms of the
internal API the funny thing is that both amok and smoke have a near
identical DSL. Just shows one more reason why we need a group like
this to be active so maybe Andy and I could have figured out we were
doing exactly the same thing at exactly the same time and pooled our
resources.