Download - How Testing Helped The API 0.6 Migration
Transcript
![Page 2: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/2.jpg)
![Page 3: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/3.jpg)
![Page 4: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/4.jpg)
Background
![Page 5: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/5.jpg)
API 0.619th April 2009
![Page 6: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/6.jpg)
Changesets
![Page 7: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/7.jpg)
Version Numbers
![Page 8: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/8.jpg)
Diff Uploads
![Page 9: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/9.jpg)
Backend DB
MySQL → PostgresForeign Keys
![Page 10: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/10.jpg)
Limits
osm.org/api/capabilities
![Page 11: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/11.jpg)
![Page 12: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/12.jpg)
The Problem
![Page 13: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/13.jpg)
![Page 14: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/14.jpg)
http://www.flickr.com/photos/hypertypos/3114025184/
![Page 15: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/15.jpg)
![Page 16: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/16.jpg)
Solution
![Page 17: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/17.jpg)
![Page 18: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/18.jpg)
![Page 19: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/19.jpg)
cruise.openstreetmap.org
![Page 20: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/20.jpg)
http://cruise.openstreetmap.org/
![Page 21: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/21.jpg)
Example problems the tests picked up
![Page 22: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/22.jpg)
svn status
M test/unit/diary_entry_test.rb
M app/controllers/diary_entry_controller.rb
? app/views/diary_entry/_diary_tag.html.erb
![Page 23: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/23.jpg)
Invalid translation file (byte order bit)
![Page 24: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/24.jpg)
![Page 25: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/25.jpg)
![Page 26: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/26.jpg)
Your Applications
![Page 27: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/27.jpg)
![Page 28: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/28.jpg)
![Page 29: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/29.jpg)
api06.dev.openstreetmap.org
apis.dev.openstreetmap.org
![Page 30: How Testing Helped The API 0.6 Migration](https://reader034.vdocument.in/reader034/viewer/2022051514/548d1d97b479590d2b8b4982/html5/thumbnails/30.jpg)
Test, Test, Test