JavaScript Testing

Mark Ethan Trostler conducts a tutorial on getting started with JavaScript testing.

How to architect your app so the JS can be tested. A good lesson in some sound design principles not just for JavaScript.

  • Redis is a database / storage option. Redis stores everything as a string (the protocol is text-based). Redis is accessed via a binding in Node.js.
  • Amazon S3 is a storage / database solution.
  • No object should be forced to depend on methods it doesn’t need.
  • Keep Different Functionality Separate.
  • Video shows an example of a JavaScript interface and implementation.
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

%d bloggers like this: