[{"data":1,"prerenderedAt":83},["ShallowReactive",2],{"content-testing-guidance-5-testing-in-the-cloud":3},{"markdown":4,"frontMatterAttributes":5,"bodyRaw":12,"contributorPaths":13,"menuType":15,"contentName":16,"slug":17,"readingTime":18,"menu":19,"nextDocItem":55,"previousDocItem":44},"\u003Cp>Unit and integration tests can run in the AWS cloud. To test in the cloud you may perform development locally, then deploy your code to the cloud. You then invoke your deployed code in the cloud context and inspect your results.\u003C\u002Fp>\n\u003Cp>The value of testing in the cloud increases with cloud native application development. When testing in the cloud, your test environment most closely resembles your production runtime environment. These tests are frequently integration tests. You may run tests in the cloud against the same API’s and return values of the production system. Tests executed in the cloud can include the testing of IAM policies, service quotas and configurations. \u003C\u002Fp>\n\u003Cp>Tests in the cloud provide the most reliable, accurate and complete coverage. While this type of testing may add latency to development feedback loops and may also add to cost, we encourage you to explore techniques to speed up feedback loops and also to optimize costs.\u003C\u002Fp>\n",{"title":6,"order":7,"callout":8},"Testing in the Cloud",5,{"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","Unit and integration tests can run in the AWS cloud. To test in the cloud you may perform development locally, then deploy your code to the cloud. You then invoke your deployed code in the cloud context and inspect your results.\n\nThe value of testing in the cloud increases with cloud native application development. When testing in the cloud, your test environment most closely resembles your production runtime environment. These tests are frequently integration tests. You may run tests in the cloud against the same API’s and return values of the production system. Tests executed in the cloud can include the testing of IAM policies, service quotas and configurations. \n\nTests in the cloud provide the most reliable, accurate and complete coverage. While this type of testing may add latency to development feedback loops and may also add to cost, we encourage you to explore techniques to speed up feedback loops and also to optimize costs.\n\n\n\n\n\n",[14],"content\u002Fcontributors\u002Fdan-fox.json","LIST","Testing your serverless applications","\u002Fcontent\u002Ftesting\u002Fguidance\u002F5-testing-in-the-cloud","1 min",[20],{"title":21,"content":22},"Testing Guide",[23,30,37,44,51,55,62,69,76],{"title":24,"order":25,"callout":26,"time":18,"path":27,"id":28,"link":29},"Introduction",1,{"title":9,"description":10,"link":11},"1-introduction","1-introduction.md","\u002Fcontent\u002Ftesting\u002Fguidance\u002F1-introduction",{"title":31,"order":32,"callout":33,"time":18,"path":34,"id":35,"link":36},"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":38,"order":39,"callout":40,"time":18,"path":41,"id":42,"link":43},"Shared responsibility",3,{"title":9,"description":10,"link":11},"3-shared-responsibility","3-shared-responsibility.md","\u002Fcontent\u002Ftesting\u002Fguidance\u002F3-shared-responsibility",{"title":45,"order":46,"callout":47,"time":18,"path":48,"id":49,"link":50},"Three Strategies",4,{"title":9,"description":10,"link":11},"4-three-strategies","4-three-strategies.md","\u002Fcontent\u002Ftesting\u002Fguidance\u002F4-three-strategies",{"title":6,"order":7,"callout":52,"time":18,"path":53,"id":54,"link":17},{"title":9,"description":10,"link":11},"5-testing-in-the-cloud","5-testing-in-the-cloud.md",{"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",1792665274077]