In this talk I start things off with the “zen of testing”, then David Spriggs talks about using the Intern, followed by Tom Wayson discussing Karma, and I close the talk with Grunt + Jasmine + automation.
Here is a PDF of the slide deck as well – may be useful in discussions with others.
All the tools we discuss in the session are listed in https://github.com/tomwayson/esri-js-testing-tools-and-patterns in Tom’s github account.
- Dave Bouwman – @dbouwman – http://blog.davebouwman.com/
- David Spriggs – @davidspriggs – http://latitudeagile.com/
- Tom Wayson – @tomwayson – http://tomwayson.com
I also gave a quick presentation at the Fort Collins Dev Meetup, and recorded a screencast. In it, I talk about the soon-to-be-released-in-beta ArcGIS Open Data project at a high-level, and then demonstrate the front-end developer workflow related to automated linting and unit testing. I then showed some of our integration tests running (using selenium, driven by mocha + wd.js). Finally I talked about some work I’m doing taking “best practices” from the Open Data project and creating yeoman scaffolders to help people start off new projects with all the infrastructure in place. For this demo, I scaffolded and published a (really simple) web app up to github pages in ~2 minutes. As this moves forward I’ll be posting about the scaffolder’s themselves as well as how to create scaffolders.
In the video I demonstrate a number of the tools and concepts that I’ve written about in these posts…