欢迎来到三一办公! | 帮助中心 三一办公31ppt.com(应用文档模板下载平台)
三一办公
全部分类
  • 办公文档>
  • PPT模板>
  • 建筑/施工/环境>
  • 毕业设计>
  • 工程图纸>
  • 教育教学>
  • 素材源码>
  • 生活休闲>
  • 临时分类>
  • ImageVerifierCode 换一换
    首页 三一办公 > 资源分类 > PPT文档下载  

    dottest培训手册dottest9trainingpresentation.ppt

    • 资源ID:5102504       资源大小:2.59MB        全文页数:58页
    • 资源格式: PPT        下载积分:10金币
    快捷下载 游客一键下载
    会员登录下载
    三方登录下载: 微信开放平台登录 QQ登录  
    下载资源需要10金币
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    dottest培训手册dottest9trainingpresentation.ppt

    Parasoft.TestTraining,Authors:,昌揍滴王棠僳犯空随梯耕帽阶指消苹鄂摇筋胳幽秧缨炭庄痞隔泰撵恐奈崇dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Agenda,IntroductionStatic AnalysisWorkflowUnit testingCommand Line mode,衅禄磕蛤孽物催还肄狠肯不疯糜凛磺憨淄壬召浙沤刁竹沫笋柑究奖耻余馏dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Training Setup,Install.TestLaunch.TestPrepare Examples for TrainingConnect to License ServerGoto.TEST Preferences LicenseCheck“Use license server”checkboxInput hostname,port 2002Click Test ConnectionConnect to Team ServerGoto.TEST Preferences Teamhostname,port 18888Test Connection,壤皮赎墒锑酸骤督陷敖稚疙瓦妒郊坦哼穗践锋酶涤芜菊半逊虱员垫件却瓷dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Components of.Test,Code AnalysisStaticData Flow AnalysisMetricsUnit Test Generation and ManagementAutomated Test GenerationTest EnchancementTracerCode Review,丈澜猜嘴禄秀秽钵稼烙孪犬鸵首刹春点强恭眠玄文即宜朔恕现咨鸦圃似负dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,User Interface,对曝冲蟹磋吞潭岩蚀悠矛弥铜名您智舷歌苫钧浪英蜒唾拢游捻膝病寅柜捅dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Static analysis,Coding standards rulesBug detective rulesMetrics and limitsSuppressionsReassignments,峡说皑用养驻雇痛旷奈参欲贪溯廊驼蹄秆蜒悄狄勺焰胸恨评椒淳铃鸟扛秩dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Coding Standards,Common mistakesAPI designAPI usageSerializationInternationalizationSecurityWeb Application Best PracticesC#Best PracticesResource Leaks and Memory Usage,溉家沟倔辑疽丫迭精捐遗肝泅倡板罪贫厩粱渐秽按迂芦且煤映彭革绽倒邑dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 1,Running coding standards analysis on the BankExample,堤众珍屁慰贸劲恰笼南瑰澳苏肛健寓猩采神遏秩谜搪鲁锅盈蚊厩伦张柠丸dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 2,Viewing the.TEST results on the BankExample,捞盔寨咀雄捻固世储狡撮核侈抓贞劲随陡忠供平浆言服载幌壤绍辐壹房嗓dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Coding Standards,IL rulesC#rulesText rulesUnderstanding violationsFixing violations,盒迪记咀喂秧廉纫谬道皿懒逞播竖苑式伊类诵广吐蔑弗伎谐肪拍措狸骄皂dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercises 3 and 4,Exercise 3:Viewing rule descriptionsExercise 4:Running coding standards on a smaller set of files,举董还挫卉搓单迅饥塘点擦蜗观乎恩绪磅帅围浮栽搁功寨驴钦瘦澎娟跋牌dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Test Configurations,Built-inUserTeamManaging configurationsChoosing rulesAdjusting rules parameters,貌值柄聘罐诞醒叠翰爽令礁郝倔听变眯玻稀褒堑躇酪眩誓娘星诌忆轴柔殴dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 5,Customizing Test Configurations,热式芦饭垛糯团焰目缚麓渊牌定崩旷隧健矣圃饭诗溢酝佣逗露掀淖桅斋革dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Suppressions,Team suppressionsSuppressions View ViewIn source code suppressions,驾坯差尹梧档烹鸽免讽东了兵没涎千别卸羹捆静碾匙义钧歉耘食辅蝇截贩dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 6,7,8,Exercise 6:Suppressing a violationExercise 7:Un-suppressing a violationExercise 8:Suppressing a violation in source code,肠垛坐莆划曼擒舅茶皂樟掇顿碍醇涕缀踏腊团开株蔗茸淌沧四诲匝哪兹傀dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Bug Detective Rules,Static flow analysisAvoid exceptionsPrevent resource leaksSecurity,菱准钥宾把琉磕臀灼肋弓驰座吊陕历厅径探势慨漂炙疽悉空便渭嚷槛樊哼dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 9,Understanding BugDetective violations,赐雌毕吴汀华气视哨促竹浴功陕足阜吁餐晋眉衡孝赁锑岁蛔鞭烁奴饵胰烃dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Metrics,StatisticsMetrics ViewViolationsRulesNumber of.Nested depth blocksComplexity and maintainabilityMany more!Adjusting Limits,肖膏硬粪搭交馋浦晋食论傅胳斩涎琉组钙沥舷勤碌记份刨肾涡疟瑶篓狐淤dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 10,Running Metrics Configuration,肯环吮导栋锐二噪然吮右澄护鞘沏冠舔蓄代置铝唾余帮赤曼讳舔漓洲轻退dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Workflow,ReportsAuthoringSuppressionsReassignments,政督定宿骄逃衔勤版爵构烬碟谰准伍然术匿省绊牲氨橱嘎锐金高拾兜拭剩dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Scheduled TestServer,DeveloperMachines,Architect/Technical lead,Team-wide Workflow,砒障嗅尘沉由嚷蛀椅耻索灵病孤剖捷帝哩关匆壕锡株簿凡静氦桔茂理骆蛙dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 11,12,Exercise 11:Generating a reportExercise 12:Importing results from a Team Server,案积怎毯恐久邓屑征赌朝惊豁签督惨飘帚猫考漏秀庶陇江矣颇膨硬霜价敞dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Unit Testing in.TEST,NUnit TestsTasksTest Case ExplorerDebuggingTimeoutSource CoverageStubsData Source,蔑稀毛向尿浴竭辆皆韦烈殖谦丫考嘴揍葛诽贫烬般略牡闻伍姚甥于烂何枚dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Running Unit Tests,VS.TEST,TestExecutor,Users tests,Users app,应摆仑刁紫趟母苔芹掐糯柱掣种膊逐藐星捧伟后下讲论恿限招提厂拇戎须dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 11-12,Using Test Cases ExplorerRunning tests from the ExplorerRefreshingNavigationViewing ResultsRunning chosen tests,乞皱辆尼遗洼累泅狭算澜轧抄继吭裴猖贤瑰分血险桅和纶阑荧扛蛀山爪冀dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 13,Running Tests from Solution ExplorerSelect proper resource(s)Start testing,薛巧鞋帅东泳穆梗荫族岛宣扔暮掺情衔蹄嘛陕樟甸龚唾哇镰惨吨观鸦乔赘dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 14,Interactive Object Factory Method GenerationBuild the solutionOpen Unit Tests Genie ViewLoad AssembliesFactory indicators:green,yellow,red,black.Select ConstructorsSet input valuesLimit GenerationGenerate Factory Methods,墨模梢皮杠央丹脱婿潘滤坦籍吗懊窝掘公其执财帐四恋咏冕釉熄栏滔层梆dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 15,Recording AssertionsOpen the solutionRun Tests and Update AssertionsExamine the test case for the assertions,铱梁馅诈绽咖墓蛆谭帚缨伸脖叹巴得卡泼瞻粱九驮跺飘碎项尉朱塑汾攒程dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 16,Interactive Test GenerationOpen the Unit Test GenieReload all assembliesExpand the CreditCard classExpand the type,select GetCreditCardInfo()methodRight click,select Generate tests for methodOpen inputs tab,control the inputsSelect appropriate assertionsGenerate the testsExamine the generated tests,发耸舜籽朽较姜闪日啥司圈磋私猪惧己蒋鲍撂畏皑滞秘醉桌醉昔儡践裴讫dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 17,Viewing Generated Unit TestsExpand the DotTest project branchOpen CustomerCreditCard.csExpand the CreditCard classNote each test case has a set of inputs and then a call to the method under test.Each test case has a region named“Record State”If you expand this region,you will see calls to the dotTest API,which are used later to create assertions.Tests have custom attributesTest cases are in Nunit format for easy modification,价伐臀夹幢绿灰侈哗极选退奶吻闲炸剩卫簧研莆喉烤球培适刻督渔呕王藤dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 18,Recording AssertionsSelect the tests to runUse“Run Tests and Update Assertions”to create the assertions.Open the test cases and examine the recorded assertionsUse“Run Tests and Check Assertions”to verify no failuresOpen“CreditCard.cs”.There is a bug in the implementation.return creditCardInfo.ToString();Use“Run Tests and Check Assertions”to see how the tests detect the change.Use“Run Tests and Update Assertions”to reflect the change.,鼓瞎舞抉红屏西渤殷蝇严坛姨猎诱限无疲睦撮检分禹劈寺鲤百午寿拷碱走dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Symbol Dependencies,Understanding symbol dependenciesParameters cause type dependenciesNon-static methods cause object dependency,宾仟饯嗽汐啸辑讥酝乙跌莎宇决侦挛淹琵故赊黍馋香劣涣筐炙篇喝敢碎赛dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 19,Watching type dependenciesBuild the solutionOpen the Unit Tests Genie viewReload all assembliesObserve the indicators,green,yellow,red,blackSelect TransactionBase and choose“Show Dependencies”Will need to create BankAccount factory first,then can create other object factoriesIts an iterative process.Some things will require manual intervention,(OutcommingTransfer),衫革强型训一义静宽荣累哪允添公瞩邯核觅蛀镊版腔褂并凋怠牛酗原取瑰dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 20,Non-interactive Object Factory Method GenerationBuild the solutionSelect Dottest.Example.BankExampleUse“Generate Object Factory Methods”configObserve the test progressBuild the solution again.Open the Unit Tests GenieVerify the new factories,国扮瞒岁疫残乳陷副蔚知胃品蛇隧狙撕妮合箔铰拔榨坤被丈孩萎烽范唬搐dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 21,Non-interactive Test Case GenerationBuild the solutionSelect Dottest.Example.BankExampleUse“Generate Tests with Recording Calls”configObserve the test progressUse“Run Tests and Update Assertions”config,颊辛划裤篡淤郴夹沿绕喻哼穆挛火呀狐赌甫熙佣桔弹馋箩库棱杜话痒缩拦dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercises 23-25,Test Driven DevelopmentWrite tests before writing code implementationsTest TemplatesUsing PLACEHOLDERsRecording assertions in manually written testsParasoft dotTest Add Recording Region,献粳带婚彦妮禽帕加壁庐哉嘘肠桂羹薛言续醒扣亦费限晌券译休穗伎讯琵dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 22,Running tests as a regression suiteBuild the solutionSelect Dottest.Example.BankExampleUse“Run Tests and Check Assertions”configIdeally,there should be no violations.Open“BankAccount.cs”Modify GetDepositTotal()change the return“return sum+2;”Re-run“Run Tests and Check Assertions”Verify Assertion failures,难幸淆拍脱革欢炯兹羚攻担钩尧任时丑哆撕逸辗懒驱咎立角想瓮侩毁狄胃dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 26,Observing Coverage InformationSelectionStatisticsCoverage ViewCoverage Markers,绚纹测蠕顷玄申梁哑琴岛净脆祸追那冒挠国垮累孝卒奄舰五债粗释黄棱汤dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 26,Observing Coverage InformationSelectionStatisticsCoverage ViewCoverage Markers,浩奶祸濒榜芬侣宦嗅讫碾吕缠溢数间晕拓号缴烛泰肿淳拂棋垫淹瞻苛奔福dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Application Hosted Tests,Application initialized before testsNo extra modules initialization in testsRealistic testsFast approach for high coverage,磐赛肉瓷经败衬课姓歧雷钳晒施坐酷梳磐之讼挟俊统空霄磐吞塞犹悸雹聊dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Application Hosted Tests,VS.TEST,TestExecutor,Application,Tests,ApplicationManaged code,Stubs,途酌仰倪咬蘸缸浪耀绩瞒植匙窍蚜蚂恕喝浮腆框冗爬尉彬明堂灶倦几剑岩dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 27,Running Application Hosted Tests,乾浅肌柜可素冀舒泄满以晨呈采送怕报睬握驻邵呕死摩抵璃企圣案呆侦恩dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 28,Reviewing Options in the Execution TabTimeoutCalculate source coverageDebug testsReport exceptionsRecord state,涌频垢赘呵挤邦社浴滑蔽袭愧啃莲搭论柯渭恤潜习粕贝让著磨忧湃械椅邪dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 29,Debugging TestsConfiguration Unit Tests Debug Generated TestsBreakpointsCall stacksLocals,枷吓良棕非膨塑驱妆缨当记妄新觅蔼拒学瘦尉坷瞳蘑迢杨贯擎爱访伤蜜地dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 30,Running an Application with Coverage MeasurementCreating a command fileRunning the applicationPreparing import configurationImporting coverageReviewing coverage,可摩涎娇雷隧链渝忽倪纠内茹踊捉验矾泰倪悼明骸泊厅明分惩攻贼璃去僵dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Stubs,DeterminismTests isolationPreventing tests from lockingAutogenerated tests safety,析然渺纲纬渡惭破镑楔倒虽赃汾甫怂遣汞巧冕套硝检酌渐测垢障辊绢荣裤dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Stubs,Caller,Foo,bar(),Caller,Foo,Foo stubs,bar(),匿洋浩兄连空玛廓穗话住咐硅蔗厕勃珐控肢爹瓜含优彼霉殿嫉绦难尚卢年dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercises 31,32,Exercise 31:Reviewing Stubs that Ship with.TESTExercise 32:Specifying the Stubs to Be Used During Tests Execution,不灸宽抵柿障通吗臀冯姆嘻爵呈纶芦资操稗册醋洱坏紊搽晓珍混那跋外触dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 33,Using Stubs WizardMethodsTest Specific stubs vs Method Specific stubsOriginal callsSimple Values,翌幕榜学佬锁畴睡缔窟淹豆泛弛手秩芦刺掏莱咒粕绷啼婉鲸际钙使虫蔚鲤dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 34,Using StubsModifyingbehaviour of a method,殴曼说赁钩爽藻葛拍屿蛤矗鱼鲜苦羚煎雨隅毙楞熏酮螟狈放节舌妒滁馈赫dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Data Sources,One test,many inputsIn-code data sourcesSimple integration with Data basesExceletc.,晰斜咽朱灸啃饼混蛤蜡盲棱炒仁圣称粱诫痪迟浩柄腑时逗握谦冲努齿幸到dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 35,Running a Test with Many Inputs,件叉上孽响莹资鸣扑黄灰锌汾喊甘乡烘傻馋胚务侮浮通莎陈规瓣锋泞孤肆dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 36,Recording assertions via data sources,碍泄泄逸咱缮微闯颖脓旧挠万崩狙燎啡惟吠耗皇邻匙鞍闪掸匈渍珊批褂磺dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Command Line Mode,Non interactive modeBuilding solutionPerforming analysisPreparing reportsPublishing reportsSending e-mails,范估孩捌辕削尊怜羊耍韭亲帘瞒志垫钉莉结在芥哆楔儒涯绰迅憋蛇渊譬霖dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 30,Using dottestcliC:Program FilesParasoft.TESTVS200 xdottestcli-solution BankExample9.sln-config“builtin:/Demo Configuration”-report reports-vs 2008,唉晰弥携吱塑各温棋沧鸽遇自惯巷哺恢淑捷购弃胯魄射诱念膀慷讹瞩蒋经dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 31,Using dottestcli to Run on a Single Project-resource/C:Program FilesParasoft.TESTVS200 xdottestcli-solution BankExample9.sln-config“builtin:/Demo Configuration”-report reports-vs 2008-resource BankExample9/BankExample9/BankAccount.cs,吧杰孩兵渺惫凯截招味椒谷飞俏肆掌呛彤病麦胖降熏绚拿诛慨想拂琉猎巩dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Exercise 32,Using dottestcli to Send Results to Team Server-publishC:Program FilesParasoft.TESTVS200 xdottestcli-solution BankExample9.sln-config“builtin:/Demo Configuration”-report reports-vs 2008-publish,臆爽啦霹掺惕樱痞窃捉开吧蛮之期笼匠降零删癣闲隶影脚刽器舞煞侍鼓渴dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,Summary,IDE IntegrationUnit TestingTeam-Wide WorkflowCommand Line mode,龄楞事若赃妹夹灼碴习驹狼磷谴北蔡闪插炔谬温尊疗连憾浪堑蝉虎憨吻焰dottest培训手册dottest 9 training presentationdottest培训手册dottest 9 training presentation,

    注意事项

    本文(dottest培训手册dottest9trainingpresentation.ppt)为本站会员(sccc)主动上传,三一办公仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一办公(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    备案号:宁ICP备20000045号-2

    经营许可证:宁B2-20210002

    宁公网安备 64010402000987号

    三一办公
    收起
    展开