このスライドは 【エンジニア交流会】Google Apps Script 活用ミートアップ #3 (2018-10-17) https://gaiax.connpass.com/event/101411/ で発表したものです。 Google App Script の開発はお手軽だけど動作確認がポチポチ面倒じゃありませんか? Jestの強力なモック機能を駆使した結合テストを導入して、かなり楽になった知見を実例を交えてご紹介しようと思いました。 サンプルコードGist https://gist.github.com/AquiTCD/81294f568b823e5eecca11a182a69e14 --- 2019-3-8 追記 現在はWebpackではなくClasp+TypeScriptで書いています。 こちらも参考になれば嬉しいです。 Google App ScriptをTypeScript
![GAS開発のJestによるモック入り結合テスト仕立て / The way to develop GAS with mocking integration test by Jest](https://cdn-ak-scissors.b.st-hatena.com/image/square/0b2a7b2e6ef85e6bb2486aee57a07d75cc01be9b/height=288;version=1;width=512/https%3A%2F%2Ffiles.speakerdeck.com%2Fpresentations%2Fe418568e95264ff394512c6cf0ab5b2c%2Fslide_0.jpg%3F10988499)