https://github.com/tomwayson/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
https://github.com/tomwayson/esri-js-testing-tools-and-patterns
Last synced: 4 months ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/tomwayson/esri-js-testing-tools-and-patterns
- Owner: tomwayson
- Created: 2014-03-06T21:22:02.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-05-09T14:34:32.000Z (about 11 years ago)
- Last Synced: 2025-03-28T03:16:16.197Z (about 1 year ago)
- Homepage: http://www.esri.com/events/devsummit
- Size: 194 KB
- Stars: 17
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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
- [Video](http://video.esri.com/watch/4281/javascript-mapping-applications-_dash_-testing-tools-and-patterns)
- [Presentation (PDF)](http://proceedings.esri.com/library/userconf/devsummit15/papers/dev_int_106.pdf)
## 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](https://github.com/esri/landscape-modeler-js) - This is a production Esri application that uses Karma to run Mocha/Chai tests in Chrome and Internet Explorer.
**Libraries**:
- [Karma](http://karma-runner.github.io/)
- [Jasmine](http://jasmine.github.io/)
- [Mocha](http://mochajs.org/)
- [Sinon](http://sinonjs.org/)
###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**:
- [Karma](http://karma-runner.github.io/)
- [Jasmine](http://jasmine.github.io/)
- [Istanbul](https://gotwarlost.github.io/istanbul/)
- [gulp](http://gulpjs.com/)
**Blog posts**:
- [Automated Headless Unit Tests with Esri JS API](http://blog.davebouwman.com/2013/07/26/automated-headless-unit-tests-with-esri-js-api/)
##Patterns
###Books
- [Testable JavaScript](http://shop.oreilly.com/product/0636920024699.do) by Mark Ethan Trostler
- [Jasmine Javascript Testing](http://www.packtpub.com/javascript-unit-testing/book) 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
- [Dave Bouwman](https://github.com/dbouwman) - [@dbouwman](https://twitter.com/dbouwman) - [http://blog.davebouwman.com/](http://www.davebouwman.com/)
- [Tom Wayson](https://github.com/tomwayson) - [@tomwayson](https://twitter.com/tomwayson) - [http://tomwayson.com](http://tomwayson.com)