[{"data":1,"prerenderedAt":84},["ShallowReactive",2],{"content-testing-guidance-1-introduction":3},{"markdown":4,"frontMatterAttributes":5,"bodyRaw":12,"contributorPaths":13,"menuType":15,"contentName":16,"slug":17,"readingTime":18,"menu":19,"nextDocItem":27,"previousDocItem":83},"\u003Cp>In this guide we teach you about strategies for testing your serverless applications. We point you to code samples that illustrate a variety of techniques in different programming languages. Finally, we outline the benefits and drawbacks of these techniques and provide opinionated guidance about them. \u003C\u002Fp>\n\u003Cp>Many developers are used to writing applications that are deployed and tested entirely on a local desktop environment. During development, they usually run these applications on a desktop operating system or in a local container-based environment.\u003C\u002Fp>\n\u003Cp>Serverless applications are different.\u003C\u002Fp>\n\u003Cp>When you build serverless applications, fundamental architecture components may not be deployable to a desktop environment but will exist only in the cloud. You may create desktop conditions that resemble your cloud environment, but you can never deploy cloud services to your local environment. Writing for services that only exist remotely requires a shift in your development and testing strategy.\u003C\u002Fp>\n",{"title":6,"order":7,"callout":8},"Introduction",1,{"title":9,"description":10,"link":11},"View our code samples","Our open source repository is a great place to begin.  We have serverless test samples in Java, Python, TypeScript and .NET.  Pick a language and navigate to a starter project.","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-test-samples","In this guide we teach you about strategies for testing your serverless applications. We point you to code samples that illustrate a variety of techniques in different programming languages. Finally, we outline the benefits and drawbacks of these techniques and provide opinionated guidance about them. \n\nMany developers are used to writing applications that are deployed and tested entirely on a local desktop environment. During development, they usually run these applications on a desktop operating system or in a local container-based environment.\n\nServerless applications are different.\n\nWhen you build serverless applications, fundamental architecture components may not be deployable to a desktop environment but will exist only in the cloud. You may create desktop conditions that resemble your cloud environment, but you can never deploy cloud services to your local environment. Writing for services that only exist remotely requires a shift in your development and testing strategy.\n",[14],"content\u002Fcontributors\u002Fdan-fox.json","LIST","Testing your serverless applications","\u002Fcontent\u002Ftesting\u002Fguidance\u002F1-introduction","1 min",[20],{"title":21,"content":22},"Testing Guide",[23,27,34,41,48,55,62,69,76],{"title":6,"order":7,"callout":24,"time":18,"path":25,"id":26,"link":17},{"title":9,"description":10,"link":11},"1-introduction","1-introduction.md",{"title":28,"order":29,"callout":30,"time":18,"path":31,"id":32,"link":33},"Should you test?",2,{"title":9,"description":10,"link":11},"2-should-you-test","2-should-you-test.md","\u002Fcontent\u002Ftesting\u002Fguidance\u002F2-should-you-test",{"title":35,"order":36,"callout":37,"time":18,"path":38,"id":39,"link":40},"Shared responsibility",3,{"title":9,"description":10,"link":11},"3-shared-responsibility","3-shared-responsibility.md","\u002Fcontent\u002Ftesting\u002Fguidance\u002F3-shared-responsibility",{"title":42,"order":43,"callout":44,"time":18,"path":45,"id":46,"link":47},"Three Strategies",4,{"title":9,"description":10,"link":11},"4-three-strategies","4-three-strategies.md","\u002Fcontent\u002Ftesting\u002Fguidance\u002F4-three-strategies",{"title":49,"order":50,"callout":51,"time":18,"path":52,"id":53,"link":54},"Testing in the Cloud",5,{"title":9,"description":10,"link":11},"5-testing-in-the-cloud","5-testing-in-the-cloud.md","\u002Fcontent\u002Ftesting\u002Fguidance\u002F5-testing-in-the-cloud",{"title":56,"order":57,"callout":58,"time":18,"path":59,"id":60,"link":61},"Mocks",6,{"title":9,"description":10,"link":11},"6-mocks","6-mocks.md","\u002Fcontent\u002Ftesting\u002Fguidance\u002F6-mocks",{"title":63,"order":64,"callout":65,"time":18,"path":66,"id":67,"link":68},"Emulators",7,{"title":9,"description":10,"link":11},"7-emulators","7-emulators.md","\u002Fcontent\u002Ftesting\u002Fguidance\u002F7-emulators",{"title":70,"order":71,"callout":72,"time":18,"path":73,"id":74,"link":75},"Our guidance",8,{"title":9,"description":10,"link":11},"8-our-guidance","8-our-guidance.md","\u002Fcontent\u002Ftesting\u002Fguidance\u002F8-our-guidance",{"title":77,"order":78,"callout":79,"time":18,"path":80,"id":81,"link":82},"Get started with code",9,{"title":9,"description":10,"link":11},"9-get-started","9-get-started.md","\u002Fcontent\u002Ftesting\u002Fguidance\u002F9-get-started",null,1792578874921]