QUnitGS2
QUnitGS2 copied to clipboard
A Google Apps Script library that brings the power and simplicity of QUnit unit testing to your scripts and applications. In just 60 seconds you can add unit testing to any script.
**Repro:** Run a test that throws an uncaught exception, for example: ``` var QUnit = QUnitGS2.QUnit; function doGet() { QUnitGS2.init(); // Just to demonstrate that QUnitGS2 plumbing is hooked up...
First of all, thank you for creating this tool. I am following the instructions you provided: http://qunitgs2.com/examples/step-by-step-tutorial I was able to install version 23 using the ID you provided. When...
Hi, I try to test a quite long procedure `onClick`, see below, (I mean here a procedure as understood in JS: returning nothing, just writing calculation results out into a...
Viewing results in HTML is rad, but some users might prefer to just have the results listed in std logs or Stackdriver.
This didn't work in [v1](https://github.com/simula-innovation/qunit/tree/gas/gas), can it be fixed in QUnitGS2?
This didn't work in the original v1 version, can it be fixed in QUnitGS2.
We could get to a point where the cache is full, so may need to compress it. https://ramblings.mcpher.com/google-apps-scripts-snippets-2/zipping-to-make-stuff-fit-in-cache-or-properties-service/
The "All tests finished" callback doesn't get called, so no totals are available to display in the banner. setTimeout() is used a lot in the tests, so presumably, as this...
Although the doGet() runs the test functions, the actual results are returned from the original QUnit library by various callback functions as JSON strings. These callbacks don't run until after...