gas-test
Simple test framework for Google Apps Script
gas-test is test framework running on Google Apps Script runtime.
Installation
First, install gas-test using npm (we assume you have pre-installed node.js).
npm install gas-test --save-dev
Usage
app.js:
const assert = ;const Tests = ;const t = ;const suite = tsuite;const test = ttest; global { t;} ;
XUnit XML report
const assert = ;const Tests = ;const t = 'xunit'; // use xunit reporter.const suite = tsuite;const test = ttest; global { t; return treporterresult;}
Example
Demo can be found in the example directory.
License
MIT © fossamagna