Unit Testing in GAS Part 5: Testing Objects and Arrays

If you’re brand new to unit testing, start with the first post in this series to get caught up. Part 1: QUnit Setup Part 2: Simple Tests Part 3: Adding and Updating Functions Part 4: Error Handling Part 5: Testing Objects and Arrays It’s time to dive into deeper equality situations with objects and arrays.… Read More »

Unit Testing GAS Part 3: Adding and Testing Functions

If you’re brand new to unit testing, start with the first post in this series to get caught up. Part 1: QUnit Setup Part 2: Simple Tests Part 3: Adding and Updating Functions Part 4: Error Handling Part 5: Testing Objects and Arrays We’ve looked at how to install and configure QUnit and just finished… Read More »

Unit Testing GAS Part 2: Simple Tests

If you’re brand new to unit testing, start with the first post in this series to get caught up. Part 1: QUnit Setup Part 2: Simple Tests Part 3: Adding and Updating Functions Part 4: Error Handling Part 5: Testing Objects and Arrays Simple Tests From part one, unit tests are for single units of… Read More »

Auto-select form checkbox with querystrings

I maintain a website at school where teachers can register for professional development. They can see all offerings and save sessions to their profile for remidners, etc. The bulk of the data comes through Javascript, which populates the main page in a fancily-styled form. Each course is a form element with a unique ID that… Read More »