[{"data":1,"prerenderedAt":83},["ShallowReactive",2],{"content-testing-guidance-3-shared-responsibility":3},{"markdown":4,"frontMatterAttributes":5,"bodyRaw":12,"contributorPaths":13,"menuType":15,"contentName":16,"slug":17,"readingTime":18,"menu":19,"nextDocItem":41,"previousDocItem":30},"\u003Cp>When you write serverless applications, you use services that live primarily in the cloud.\u003C\u002Fp>\n\u003Cp>The AWS \u003Ca href=\"https:\u002F\u002Faws.amazon.com\u002Fcompliance\u002Fshared-responsibility-model\u002F\">shared responsibility model\u003C\u002Fa> states that AWS is responsible for the security OF the cloud and you are responsible for security IN in the cloud. Similarly, AWS is responsible for the quality OF its services and you are responsible for the quality of the application that you write IN the services.\u003C\u002Fp>\n\u003Cp>For example, you shouldn’t need to write tests to verify that Amazon DynamoDB is operating as documented. But you should write tests to verify that you have written your DynamoDB queries to return properly the data you are expecting.\u003C\u002Fp>\n",{"title":6,"order":7,"callout":8},"Shared responsibility",3,{"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","When you write serverless applications, you use services that live primarily in the cloud.\n\nThe AWS [shared responsibility model](https:\u002F\u002Faws.amazon.com\u002Fcompliance\u002Fshared-responsibility-model\u002F) states that AWS is responsible for the security OF the cloud and you are responsible for security IN in the cloud. Similarly, AWS is responsible for the quality OF its services and you are responsible for the quality of the application that you write IN the services.\n\nFor example, you shouldn’t need to write tests to verify that Amazon DynamoDB is operating as documented. But you should write tests to verify that you have written your DynamoDB queries to return properly the data you are expecting.\n",[14],"content\u002Fcontributors\u002Fdan-fox.json","LIST","Testing your serverless applications","\u002Fcontent\u002Ftesting\u002Fguidance\u002F3-shared-responsibility","1 min",[20],{"title":21,"content":22},"Testing Guide",[23,30,37,41,48,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":6,"order":7,"callout":38,"time":18,"path":39,"id":40,"link":17},{"title":9,"description":10,"link":11},"3-shared-responsibility","3-shared-responsibility.md",{"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",1792578874944]