Using Intern with ArcGIS API for JavaScript

Datetime:2016-08-23 05:23:00         Topic: JavaScript          Share        Original >>
Here to See The Original Article!!!

Posted injavascript

Intern is a JavaScript testing framework maintained and developed by the folks at SitePen that also maintain the Dojo Toolkit .

It’s a great framework that allows you to run unit tests, functional tests, as well as integrate with cloud-based browser testing like Saucelabs or BrowserStack .

This video shows how the unit tests in the sample app for the ArcGIS JS API generator were written and how they work. It also covers how the testdouble.js mocking library is used with the Intern tests.

We’ll also talk a little bit about code coverage and how it can be a handle tool to help you write your tests.

So please enjoy this video!


Put your ads here, just $200 per month.