Posts about testing
Categories
- Sep 03 2013
How Node.js Makes Network Code More Testable
Introduction Node.js, a server platform built on Chrome’s JavaScript engine, is changing the face of web development. While Node.js itself is fast and scalable, the open source community surrounding Node.js is constantly discovering new ways to make application development more productive. This article will show how Node.js network code can be easier to write automated […]
Continue ReadingHow Node.js Makes Network Code More Testable - Jan 03 2013
Realtime Node.js App: Stress Testing Procedure
This post is the second in a three-part series describing our investigations into scalability for a second screen application we built for PBS. You can read the introduction here. This guide assumes you have a production server up and running. If you need help getting there, check out the final post in the series for […]
Continue ReadingRealtime Node.js App: Stress Testing Procedure - Dec 18 2012
Realtime Node.js App: A Stress Testing Story
This post is the first in a three-part series describing our investigations into scalability for a second screen application we built with PBS. You can read more about the project in the series introduction here. Some Background We built the Map Center second-screen application in Node.js with the help of a number of open-source libraries. […]
Continue ReadingRealtime Node.js App: A Stress Testing Story - Jul 09 2012
New Training: Writing Testable JavaScript
The things we’re asking JavaScript to do are getting more and more complex by the day, and that means that manual testing — the good old “click around and make sure nothing’s broken” — is becoming less and less effective. If you’ve run into this in your work, you probably know that you ought to […]
Continue ReadingNew Training: Writing Testable JavaScript- Tagged in:
- performance,
- testing,
- training
- Apr 04 2012
Ringmark Tests Open Source
I am really excited that the tests powering Ringmark have been pushed up to Facebook’s fork of coremob/coremob-tests repo on GitHub. Read more about it on Facebook’s dev blog. We think that unit test authoring will be a great way for web developers to engage in the standards process, and so we are looking forward […]
Continue ReadingRingmark Tests Open Source - Feb 07 2012
Easily Test jQuery Pre-Release Versions
Get the complete code on github. It’s always exciting when a new major jQuery version (x.x.0) full of bug fixes, new features and performance improvements is released. But that fresh, out of the box excitement can get replaced with anxiety if you find bugs or performance issues with the latest version. This post will cover […]
Continue ReadingEasily Test jQuery Pre-Release Versions - Aug 19 2011
Spoofing User-Agent with Chrome’s WebRequest API
Whenever you ask for a page on the web, your request has a lot of data attached to it. One part of your request (the “user-agent” string) describes your software environment—usually your operating system and your browser’s name and version number. Like many things on the web, this data is a convention, not a law. […]
Continue ReadingSpoofing User-Agent with Chrome’s WebRequest API- Tagged in:
- client side,
- tutorial,
- web applications
- Sep 16 2010
JavaScript Web Workers: Support & Testing The Browser
In case you’re not yet familiar, the JavaScript Web Workers API is a feature that facilitates the execution of scripts in an independent background process, away from any UI related logic. It should be assumed that the Worker’s life-cycle is the same as the application that called it, as it comes with start-up and instance […]
Continue ReadingJavaScript Web Workers: Support & Testing The Browser