---
title: "Unit Testing GAS Part 1: QUnit Setup | ohhey[blog]"
author: "Brian Bennett"
date: 2019-11-28T05:33:06+00:00
modified: 2019-11-28T05:36:06+00:00
canonical_url: https://pulse.appsscript.info/p/2019/11/unit-testing-gas-part-1-qunit-setup-ohheyblog/
markdown_url: https://pulse.appsscript.info/p/2019/11/unit-testing-gas-part-1-qunit-setup-ohheyblog.md
categories:
  - "Snippet"
  - "Solutions"
tags:
  - "blog.ohheybrian.com"
description: "I'm not good at writing testable code. I'm more of a 'figure it out when it breaks' kind of hobby programmer. The problem with this is that I am constantly making my own bugs and..."
---

# Unit Testing GAS Part 1: QUnit Setup | ohhey[blog]

> I’m not good at writing testable code. I’m more of a ‘figure it out when it breaks’ kind of hobby programmer. The problem with this is that I am constantly making my own bugs and not really finding them until a bad time.Unit testing is the process of running automated tests against your code…

The first post in a series, this will eventually be an in-depth look at unit testing both as a habit of writing code and through the lens of large Apps Script projects.

Source: *[Unit Testing GAS Part 1: QUnit Setup | ohhey[blog]*](https://blog.ohheybrian.com/2019/11/unit-testing-gas-part-1-qunit-setup/)

---

*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-1-qunit-setup-ohheyblog/](https://pulse.appsscript.info/p/2019/11/unit-testing-gas-part-1-qunit-setup-ohheyblog/)*
