---
title: "Unit Testing GAS Part 2: Simple Tests | ohhey[blog]"
author: "Brian Bennett"
date: 2019-11-28T05:34:05+00:00
modified: 2019-11-28T05:35:09+00:00
canonical_url: https://pulse.appsscript.info/p/2019/11/unit-testing-gas-part-2-simple-tests-ohheyblog/
markdown_url: https://pulse.appsscript.info/p/2019/11/unit-testing-gas-part-2-simple-tests-ohheyblog.md
categories:
  - "Snippet"
  - "Solutions"
tags:
  - "blog.ohheybrian.com"
featured_image: https://pulse.appsscript.info/files/2019/11/2019-11-25_22-13-31.png
description: "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..."
---

# Unit Testing GAS Part 2: Simple Tests | ohhey[blog]

![Unit Testing GAS Part 2: Simple Tests | ohhey[blog]](https://pulse.appsscript.info/files/2019/11/2019-11-25_22-13-31.png)

> 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.[![](https://pulse.appsscript.info/files/2019/11/2019-11-25_22-13-31.png)](https://blog.ohheybrian.com/2019/11/unit-testing-gas-part-2-simple-tests/)

Source: *[Unit Testing GAS Part 2: Simple Tests | ohhey[blog]*](https://blog.ohheybrian.com/2019/11/unit-testing-gas-part-2-simple-tests/)

---

*Published by [Brian Bennett](https://pulse.appsscript.info/p/author/brianbennett/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2019/11/unit-testing-gas-part-2-simple-tests-ohheyblog/](https://pulse.appsscript.info/p/2019/11/unit-testing-gas-part-2-simple-tests-ohheyblog/)*
