QUnitGS2 icon indicating copy to clipboard operation
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.

Results 9 QUnitGS2 issues
Sort by recently updated
recently updated
newest added

**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.

enhancement

This didn't work in [v1](https://github.com/simula-innovation/qunit/tree/gas/gas), can it be fixed in QUnitGS2?

enhancement

This didn't work in the original v1 version, can it be fixed in QUnitGS2.

enhancement

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/

enhancement

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...

bug

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...

enhancement