Select to view content in your preferred language

DOH example?

1267
4
04-15-2012 12:56 PM
JohnCartwright
Deactivated User
Hello All,

does anyone have an example they could share that uses Dojo's DOH test framework to test dijits which employ the ArcGIS API? 

I'm a little confused about how to go about this when the base classes are hosted via CDN.  Is the downloadable API or SDK required?  Are the Dojo examples I see expect to find a local source folder for all of Dojo.

Thanks!

--john
0 Kudos
4 Replies
derekswingley1
Deactivated User
Great question�?? let me look into this and see if it's possible. I'll post back when I have more info.
0 Kudos
derekswingley1
Deactivated User
Hi John,

We put together a blog post and example on how to use DOH with the JS API:  http://blogs.esri.com/esri/arcgis/2012/05/21/writing-unit-tests-for-your-arcgis-api-for-javascript-a...
0 Kudos
JohnCartwright
Deactivated User
Hi John,

We put together a blog post and example on how to use DOH with the JS API:  http://blogs.esri.com/esri/arcgis/2012/05/21/writing-unit-tests-for-your-arcgis-api-for-javascript-a...


Thanks Derek, this is great - just what I was looking for!

--john
0 Kudos
ryanmordoff
Deactivated User
Is it possible to get an update on the blog post to work with the new 3.2 api and amd loading? It doesn't look as easy to get up and running with dojo 1.7.
0 Kudos