esri-js-testing-tools-and-patterns icon indicating copy to clipboard operation
esri-js-testing-tools-and-patterns copied to clipboard

Links to resources from the Testing Tools and Patterns for JavaScript Mapping Applications talk given by Dave Bouwman and Tom Wayson at the Esri 2015 International Developer Summit

esri-js-testing-tools-and-patterns

Links to resources from the Testing Tools and Patterns for JavaScript Mapping Applications talk given by Dave Bouwman and Tom Wayson at the Esri 2015 International Developer Summit. For links from the 2014 talk, see the 2014/README.md.

The Presentation

Tools

###Karma Tutorials on GitHub:

  • https://github.com/tomwayson/esri-karma-tutorial - Using the Karma test runner to automatically run Jasmine BDD-style unit tests on your ArcGIS API for JavaScript code.

Production Applications:

  • Landscape Modeler - This is a production Esri application that uses Karma to run Mocha/Chai tests in Chrome and Internet Explorer.

Libraries:

###Grunt / Jasmine Tutorials on GitHub:

  • https://github.com/tomwayson/OpenData-Backbone - A sample application using the Open Data API using Gulp, Karma, and Jasmine
  • https://github.com/dbouwman/jsapi-jasmine - Using grunt-contrib-jasmine to test javascript that uses/relies on the Esri JS API.

Libraries:

Blog posts:

##Patterns

###Books

  • Testable JavaScript by Mark Ethan Trostler
  • Jasmine Javascript Testing by Paulo Regonha - excellent book because it uses a non-trivial example application, really focuses on refactoring the code, and finally shows how to implement the app using BackboneJS, and how to write tests for Backbone models and views.

##Speakers