Skip to content
/ GwTest Public

A unit testing framework for Google Apps Script, loosely based on python unittest.

License

Notifications You must be signed in to change notification settings

gwax/GwTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GwTest

A unit testing framework for Google Apps Script, loosely based on python unittest.

Google Drive

GwTest is also available to be accessed directly on Google Drive:

Usage

GwTest is used to test itself; the suite available in GwTest_test provides some examples of how to use the testing framework.

The best way to make use of GwTest is to use it add it to your project via Resource > Libraries with the project key: M1PpVYsD2R68uNDajUcXNca_fO5HBBZ0R

OAuth Scopes

GwTest needs certain OAuth security permissions to be run:

  • drive: FileTestCase needs to be able to create (and delete) files in Google Drive in order to provide temporary files for use in tests.
  • spreadsheets: SpreadsheetTestCase needs to be able to create, delete, and manipulate spreadsheets on Google Drive in order to provide a temporary spreadsheet for use in tests.

About

A unit testing framework for Google Apps Script, loosely based on python unittest.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published