Thanks for the kind words everyone. I also use JsTestDriver. I have not tried the IntelliJ plugin, but can confirm similar experience in Eclipse. I don't the IDE plugins are quite there yet. However, as previously mentioned, I did slap together a tool for autotesting from the command line which I use all the time. It, too, is really really fast :)
I recently published three relevant articles on ScriptJunkie, here's the first one: http://msdn.microsoft.com/en-us/scriptjunkie/gg655487.aspx (the others are available in the right sidebar). Elijah Manor also has a cool article on there: http://msdn.microsoft.com/en-us/scriptjunkie/ff452703.aspx James Carr also has a nice overview over several tools: http://blog.james-carr.org/category/test-driven-development/page/2/ Happy testing! Christian On Thu, Apr 21, 2011 at 12:12 AM, Tom de Koning <[email protected]>wrote: > I have tried JSTestrunner as well, but found it sluggish in running my > tests (using IntelliJ on windows). I've switched to XRefresh which refreshes > the browser targeting your unit tests; really, really fast. > > Tom > > > On Wed, Apr 20, 2011 at 10:32 PM, Gregers Gram Rygg <[email protected] > > wrote: > >> Christian Johansen has also written a really nice mock and spy library >> that works with any test library, SinonJs. It also lets you write >> expectations, which makes the test more easy to read imho. Sandboxing >> with Sinon automatically checks that expectations are met and restores >> functions you've mocked in your tests. >> >> http://sinonjs.org/ >> >> For me it really helped to watch Christian demonstrate Sinon live, but >> I'm not sure if anyone has recorded his presentation on Sinon. >> Front-Trends recorded his presentation of live coding tdd js, but >> wasn't able to find it online. >> >> I can also recommend his book, and JsTestDriver is the best testrunner >> I've found so far. A lot of them are described here: >> >> http://stackoverflow.com/questions/300855/looking-for-a-better-javascript-unit-test-tool >> >> Happy testing :) >> >> Gregers >> >> On Wednesday, April 20, 2011, Maximilian Antoni >> <[email protected]> wrote: >> > I'm using JsTestDriver: >> > http://code.google.com/p/js-test-driver/ >> > >> > This also gets used in the recommendable book "Test-Driven JavaScript >> > Development": >> > http://tddjs.com/ >> > >> > The author also came up with a neat wrapper for JsTestDriver that runs >> > all tests when saving a file and adds color: >> > >> http://cjohansen.no/en/javascript/jstdutil_a_ruby_wrapper_over_jstestdriver >> > >> > Very nice setup, fast turn around, no manual steps. >> > -Max >> > >> > >> > On 20 Apr., 20:29, Bill Heaton <[email protected]> wrote: >> >> Andrés, >> >> >> >> Pavlov and QUnit look very promising... From the JQuery conference I >> found ... >> >> >> >> PROTOTYPING AND UNIT TESTING, Using Mockjax, mockJSON, & >> Amplifyhttp:// >> dl.dropbox.com/u/200135/talks/prototyping-unit-testing/builder... >> >> >> >> and >> >> >> >> Natural Language UI Testing using Behavior Driven Development with >> Pavlov and QUnithttp:// >> www.slideshare.net/ericdelabar/natural-language-ui-testing-usi... >> >> >> >> Regards, >> >> >> >> --Bill Heaton >> >> >> >> On Apr 20, 2011, at 8:34 AM, Andrés Maneiro wrote: >> >> >> >> >> >> >> >> > Has someone experiences doing TDD with javascript? I'm interested in >> hearing from real experiences. Also references to good videos or lectures >> will be valuable. >> >> >> >> > best, >> >> > amaneiro >> >> >> >> > -- >> >> > To view archived discussions from the original JSMentors Mailman >> list: http://www.mail-archive.com/[email protected]/ >> >> >> >> > To search via a non-Google archive, visit here: >> http://www.mail-archive.com/[email protected]/ >> >> >> >> > To unsubscribe from this group, send email to >> >> > [email protected] >> > >> > -- >> > To view archived discussions from the original JSMentors Mailman list: >> http://www.mail-archive.com/[email protected]/ >> > >> > To search via a non-Google archive, visit here: >> http://www.mail-archive.com/[email protected]/ >> > >> > To unsubscribe from this group, send email to >> > [email protected] >> > >> >> -- >> To view archived discussions from the original JSMentors Mailman list: >> http://www.mail-archive.com/[email protected]/ >> >> To search via a non-Google archive, visit here: >> http://www.mail-archive.com/[email protected]/ >> >> To unsubscribe from this group, send email to >> [email protected] >> > > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected] > -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
