资源描述:
《[Testable.JavaScript(2013.1)].Mark.Ethan.Trostler.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、TestableJavaScriptMarkEthanTrostlerTestableJavaScriptbyMarkEthanTrostlerCopyright©2013ZZOAssociates.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotional
2、use.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:800-998-9938orcorporate@oreilly.com.Editors:SimonSt.LaurentandMeghanBlanchetteProofreader:RachelHeadProductionEditor:ChristopherHearseIndexer:LucieHa
3、skinsCopyeditor:AudreyDoyleCoverDesigner:RandyComerInteriorDesigner:DavidFutatoIllustrator:RebeccaDemarestJanuary2013:FirstEditionRevisionHistoryfortheFirstEdition:2013-01-14FirstreleaseSeehttp://oreilly.com/catalog/errata.csp?isbn=9781449323394forreleasedetails.NutshellHandbook,theNutshellHandboo
4、klogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.TestableJavaScript,theimageofaDoctorfish,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook
5、,andO’ReillyMedia,Inc.,wasawareofatrade‐markclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorsassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcontainedherein.ISBN:978-1-
6、449-32339-4[LSI]ForInslee,Walter,andMichelle—TrostlersTrostlersTrostlersWoo!TableofContentsPreface.......................................................................ix1.TestableJavaScript..........................................................1PriorArt2AgileDevelopment3Test-DrivenDevelopment
7、5Behavior-DrivenDevelopment5TheBestApproach?6CodeIsforPeople6Why7What9How9BeyondApplicationCode11Testing11Debugging11Recap122.Complexity................................................................13CodeSize14