The state of web syndication

Posted by: Nicholas C. Zakas on 07/31/2007

There's a common misconception out there that I'm part of the YUI team. Well, I'm not (I work on My Yahoo!), but that didn't stop me from submitting some code to be included in the 2.3.0 release (details). I've been secretly working on this little creation for the past few months and now that the release is here, I can finally talk about it.

The 2.3.0 release of YUI is the first to include my unit testing framework, unimaginatively named YUI Test. The basic idea was to create a super simple way to write unit tests for JavaScript. I really like unit testing, but found most of the JavaScript options to take too much time to get up and running. With YUI Test, you can include a couple of files and quickly write and run a test case. There's tons of assertions geared towards common JavaScript data types and the default failure messages are helpful enough such that you don't really need to provide custom ones (though that is an option).

I'll be talking more about YUI Test in the coming weeks and months, but for now, check out the documentation and I hope you enjoy the wonderful world of unit testing.


About Nicholas C. Zakas

Nicholas C. Zakas

Nicholas C. Zakas is a principal front end engineer at Yahoo!, where he works on the Yahoo! front page. He is the author of two books, Professional JavaScript for Web Developers and Professional Ajax, (the latter is in its 2nd edition, the former will have a 2nd edition by the end of the eyar) as well as over a dozen online articles on JavaScript.

Nicholas began his career as webmaster of a small software company, transitioning into a user interface designer and prototyper before moving fully into software engineering. He moved to Silicon Valley from Massachusetts in 2006 to join Yahoo! Nicholas can be contacted through his web site.

More About Nicholas C. »

NFJS, the Magazine

May Issue Now Available
  • Client-Side MVC with Spine.js, Part 1

    by Craig Walls
  • On Prototypal Inheritance, Part 2

    by Raju Gandhi
  • Making use of Scala Lazy Collections

    by Venkat Subramaniam
  • Integration Testing Web Applications Using Gradle

    by Kenneth Kousen
Learn More »