login
Blurts on the Art of Software Development

Today | RSS | RDF | Atom | Other Tags
Categories : All | All | CI | .NET | General | Humour | Java | Personal | Reviews | Ruby | SW Eng

Reading this prompted a question -- is anyone out there actually writing their JavaScript with unit tests? You are? Great! Now please tell the rest of us how exactly are you doing it and how has it worked out for you.


I won't tell!!
jsunit is a javascript unit test framework. But it comes up short in some areas.
I was aware of jsUnit. What I'm interested to know is how are people using it if they're using it. Personally, I have managed to avoid JavaScript so far as to not feeling the need to have tests. I'm just wondering whether someone working with more JavaScript-ridden applications is actually testing the JavaScript functions with unit tests (not functional tests but unit tests just for a single JavaScript function and so forth).
Guys, thanks for the tips but I'm really not looking for a tool. I'm just interested in knowing whether there's someone out there that's actually using these tools...
I'm using LittleUnit a lot. It is really easy to use and helps A TON when testing your javascript code across different browsers.
JSUnit looks overy complicated for my use. (I've never used JUnit). I would download LittleUnit but I'm getting timeouts and 404 not found wherever I look for it. Are there any download sources other than the link above?

Two links, but only one works:

[ok]
http://gleepglop.com/javascripts/littleunit/

[404]
http://javascript.gleepglop.com/littleUnit/

Good luck!
James

I'm looking at using JSUnit but was hoping for some MSBuild tasks to accompany it, unfortunately it's all geared towards ANT; which doesn't fit into our current build. So in that sense, I'll still use it, but will need to extend it.


Add a comment

Title
Body
HTML : b, i, blockquote, br, p, pre, a href="", ul, ol, li
Math Quiz 4 + 8 = (Helps stop blog spam)
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).

TrackBack to http://radio.javaranch.com/lasse/addTrackBack.action?entry=1108764076000