Skip to content

A library that provides mocks for Google Apps Script services for testing purposes in a Node.js environment.

License

Notifications You must be signed in to change notification settings

ilanlal/gasmocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@ilanlal/gasmocks

A library that provides mocks for Google Apps Script services for testing purposes in a Node.js environment.

It allows developers to write and run tests for their Google Apps Script code without needing to deploy it to the Google Apps Script environment.

This library is particularly useful for unit testing and integration testing of Google Apps Script projects.

Features

  • Mocking of Google Apps Script services (e.g., SpreadsheetApp, PropertiesService, etc.)
  • Easy integration with popular testing frameworks (e.g., Jest, Mocha)
  • Lightweight and fast

Installation

You can install the package directly from the GitHub repository using npm or yarn:

Note: This package is not published on npm registry. So, you need to install it directly from the GitHub repository. Sorry for the inconvenience.

npm i https://github.com/ilanlal/gasmocks --save-dev

or

yarn add https://github.com/ilanlal/gasmocks --dev

Usage

Under construction...

Contributing

Under construction...

License

MIT free License. See LICENSE for details.

About

A library that provides mocks for Google Apps Script services for testing purposes in a Node.js environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published