Serverless application development is fabulousâŠbut if you donât have a CI/CD pipeline with a strong foundation of test automation, youâll likely fail.
In this session, MongoDB Developer Advocate Lauren Schaefer will walk you through the process of crafting test automation and DevOps pipelines for serverless apps that are built on MongoDB Realm. Then, sheâll jump into the always-terrifying-for-the-presenter live demo so you can see how this all works in a very practical way. Sheâll make some changes to her codebase, update her automated tests, and push her code changes. Youâll watch as the various pieces of the pipeline fail and (hopefully) succeed.
Youâll walk away from this session equipped to build test automation and DevOps pipelines for your serverless apps.
37. Local
Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.
Local Copy of
Development Branch
38. Git Logo by Jason Long is licensed under the Creative
Commons Attribution 3.0 Unported License.
Git Push
Dev Atlas ProjectDev Realm App
Dev Build
Development Branch
Tests
39. Git Logo by Jason Long is licensed under the Creative
Commons Attribution 3.0 Unported License.
Dev Atlas ProjectDev Realm App
Development
Development Branch
TestsLocal Machine
40. Git Logo by Jason Long is licensed under the Creative
Commons Attribution 3.0 Unported License.
Staging Atlas ProjectStaging Realm App
Staging BranchPull Request
Staging Build Tests
push to prod
41. Git Logo by Jason Long is licensed under the Creative
Commons Attribution 3.0 Unported License.
Staging Atlas ProjectStaging Realm App
Staging
Staging Branch
TestsLocal Machine
42. Git Logo by Jason Long is licensed under the Creative
Commons Attribution 3.0 Unported License.
Prod Atlas ProjectProd Realm App
Master Branch
Prod Build Tests
Staging Build
Pushes to Prod
43. Git Logo by Jason Long is licensed under the Creative
Commons Attribution 3.0 Unported License.
Prod Atlas ProjectProd Realm App
Production
Master Branch
TestsLocal Machine
48. âą Mocks are ! but
âą The test pyramid reshapes for serverless apps
What I Learned
49. âą Mocks are ! but
âą The test pyramid reshapes for serverless apps
âą Serverless apps may require creative CI/CD pipelines "
What I Learned
50. CI/CD makes developing serverless apps
faster and easier.
Use my digital binder to jumpstart the
creation of your CI/CD infrastructure:
https://github.com/mongodb-
developer/SocialStats