Search code examples
google-apps-scriptautomationintegration-testinggmail-addons

Test automation Google Apps Script Gmail Add-ons


I am working on Gmail Add-on using Google Apps Script. I am using Clasp to develop it on locally then using this I am pushing it to script.google.com.

In local, I can do Unit testing using any JavaScript testing framework.

But is there any way to do Integration testing and automate it?


Solution

  • The official method for automating Google Apps Script is to use the run command of claps. clasp is a command line tool that lets you develop Apps Script projects locally.