Pages

Showing posts with label Js Test Driver. Show all posts
Showing posts with label Js Test Driver. Show all posts

Thursday, October 17, 2013

Quick Tour to Front-End Unit Testing

Quick Tour to Front-End Unit Testing Presentation

This week I gave a presentation about Java Script Unit Testing at the Front-End.IL User Group which was hosted at NICE's auditorium at Ra`anana.

We've talked about the motivations for doing Unit Testing in this era of Single Page Applications with tons of lines of code, and then we drilled down to QUnit, Sinon, and JSTD...

You might find it helpful to go over the series of posts below while you're going over the demos.

JavaScript Unit Testing in Visual Studio:

- Part I   - JavaScript is all around
- Part II  - Setting up the Environment for Headless Tests
 

Slide Deck

You can download the Slide Deck from here, or view it directly from here.

Demos

Also, the demos can be downloaded from here.

Thanks to Gil Fink for organizing these meetups. :)

Enjoy,
Yaniv

Thursday, June 20, 2013

Advanced JavaScript Unit Testing

Advanced JavaScript Unit Testing - Presentation

Unit Testing is an inseparable part of the development process, no matter which methodology you follow, be it TDD, or BDD, you know for sure that this investment is worthwhile, enabling early bug fixes, safe refactoring, and better design.

You want to test your JavaScript code but don’t know where to start? Which tools to pick? And how to integrate it all with your IDE?

Let's take a look at the tools. Let's see how to combine them to play nicely together in, and hopefully, try making Testing a breeze.

Slide Deck

This week I gave a presentation about Unit Testing at the JS-IL Event, a conference held by E4D.
You can download the Slide Deck from here, or view it directly from here.

Enjoy,
Yaniv

Saturday, February 16, 2013

JavaScript Unit Testing in Visual Studio Part III

Testing Require.JS Modules

require js
This is the 3rd post in this series, talking about JavaScript Unit Testing in Visual Studio.

In the first post we've set up the expectations, and one of them was compatibility with Require.JS, and in the previous post, we've went all the way from downloading the libraries, to running headless tests against multiple browsers from Visual Studio.

In this post we'll take it another step toward a modular application, and check out how this can also get tested with the stack we've already discussed.

Tuesday, February 12, 2013

JavaScript Unit Testing in Visual Studio Part II

Setting up the Environment for Headless Tests

js test driver
In the previous post, we've set up the scene, by setting the expectations and picking the libraries & tools for the job.

In this post we will take it step-by-step, so you can follow and get active in the process.

So here we go... 

Monday, January 28, 2013

JavaScript Unit Testing in Visual Studio Part I

JavaScript is all around


caricature
If you're building complex SPAs (single page applications) with ASP.NET MVC, or native-like Apps for smartphones using frameworks like PhoneGap (yeah, yeah it's Cordova now, just that PhoneGap sounded much better) or alike, then JavaScript plays a big role in your day to day work. Not to mention Node.JS and Windows 8 Metro Style Applications...

The days where JavaScript has been used for small client-side manipulation, and jQuery alone was enough to overcome browser compatibility issues is long gone.