GET /api/v2/video/310
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, PUT, PATCH, HEAD, OPTIONS
{ "category": "PyCon US 2010", "language": "English", "slug": "pycon-2010--tests-and-testability---188", "speakers": [ "Ned Batchelder" ], "tags": [ "pycon", "pycon2010", "testing" ], "id": 310, "state": 1, "title": "Tests and Testability (#188)", "summary": "", "description": "Tests and Testability\n\n \nPresented by Ned Batchelder\n\n \nTesting software is difficult. Large complex systems don't lend themselves\nnaturally to automated testing. This isn't just because they are large, it's\nbecause developers often don't consider how testable their code is.\nTestability is as important as all the other -ilities in your code\n(portability, maintainability, efficiency, etc).\n\n \nTestability is a characteristic of your code that makes it easier to test.\nIncreased testability can give you better tests, but it also gives you just\nplain better code. Improving testability generally means considering the\ninterfaces to your internal modules and improving them to provide better\nmodularity. This improvement often has benefits in your product code.\n\n \nI'll discuss specific examples to demonstrate how code can be made more\ntestable. Mocks, dependency injection, and crisp API design are just a few of\nthe techniques that can improve your code's testability and make you a happier\nperson.\n\n", "quality_notes": "", "copyright_text": "Creative Commons Attribution-NonCommercial-ShareAlike 3.0", "embed": "", "thumbnail_url": "", "duration": null, "video_ogv_length": 163421188, "video_ogv_url": "", "video_ogv_download_only": false, "video_mp4_length": null, "video_mp4_url": "", "video_mp4_download_only": false, "video_webm_length": null, "video_webm_url": null, "video_webm_download_only": false, "video_flv_length": null, "video_flv_url": null, "video_flv_download_only": false, "source_url": "", "whiteboard": "", "recorded": "2010-02-19", "added": "2012-02-23T04:20:00", "updated": "2014-04-08T20:28:28.209" }