Unit tests are for single units of code. They test a specific function for a specific result…
Part two in a series on unit testing, this configures the QUnit web application and has you write simple tests against an Apps Script class.
Source: Unit Testing GAS Part 2: Simple Tests | ohhey[blog]
I’m a public school teacher writing Apps Script projects to manage documentation and to make life easier in general. You can read more on my blog, blog.ohheybrian.com or follow me on Twitter, @bennettscience.