教程-Testing Ruby with RSpec: The Complete Guide MP4|Video:h264,1280x720|Audio:AAC,44.1KHz,2Ch Genre:eLearning|Language:English+.VTT|Duration:7.5hours|Size:3.13GB Mastertheartoftest-drivendevelopmentinRubyusingthepopularRSpecGem.Noprevioustestingexperienceneeded! Whatyou'lllearn Utilizetest-drivendevelopmentprinciplestodesignandimplementcleantestspecsinRuby MasterthesyntaxandstructureofRSpec,themostpopularRubyGemfortesting Reducedependenciesinyourtestsuitebymockingobjectswithclassandinstancedoubles ExplorethewidecollectionofRSpecmatchersavailabletotestyourcode Requirements IntermediateknowledgeoftheRubyprogramminglanguage(classes,objects,datastructures,etc) ModernversionofRuby(>2.4) Texteditor(VSCodeisrecommended) Description WelcometoTestingRubywithRSpec:TheCompleteGuide! ThiscourseoffersacomprehensiveoverviewoftheRSpectestinglibraryfortheRubyprogramminglibrary.RSpecisthemostpopularRubyGemofalltime,withover300milliondownloadstodate. Ifyou'renewtothetopic,testingisthepracticeof"writingcodethatconfirmsthatothercodeworksasexpected".Testscontrolforregressions,whicharechangestothecodethatbreaktheprogram. Thebenefitsoftestingextendoutsideofthecodebase.Adoptingatest-drivenapproachwillalsomakeyouabetterdeveloper.Testsforceyoutothinkcriticallyabouttheprogramanditsfeatures:theclasses,theobjects,themethodsandmore. TestingRubywithRSpecbeginswiththeessentialsandproceedstomorecomplextopicsincluding: Installation ProjectInitialization Test-DrivenDevelopment(TDD) letvariables beforeandafterHooks Subjects SharedExamples SharedContext Built-inMatchers MocksandDoubles InstanceDoubles ClassDoubles Asasoftwareengineerandconsultantwho'sworkedwithRubyforseveralyears,I'mexcitedtointroduceyoutotheawesomeRSpeclibrary,itselegantsyntax,andallofitsfunquirks. Thanksforcheckingoutthecourse! Whothiscourseisfor: IntermediateRubydevelopersinterestedinupgradingtheirskillset