Wealthfront Engineering: Test-driving your Javascript for fun and profit


This article could be very helpful!

With web-based UIs growing more complicated everyday, testing your Javascript code is just as vital as testing any other part of your stack. At Wealthfront we use jsTestDriver to provide test-coverage of our javascript code. We like its similarity to JUnit and the ease with which it integrates with Hudson. In this article we’ll drum up a quick example by writing a class that sorts a list, then we’ll write our tests with jsTestDriver. After that we’ll take a quick look at how easy it is to integrate our tests into Hudson to make jsTestDriver a part of your continuous integration infrastructure.

via Wealthfront Engineering: Test-driving your Javascript for fun and profit.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s