Skip to content

gwax/GwTest

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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