Skip to content

Unit test set up - Research QUnit and GasT for unit test implementation #132

@wesley115

Description

@wesley115

Overview

As part of addressing technical debt for the Hack for LA Tables project, we need to implement unit testing to ensure the reliability of our onboarding/offboarding automation system (built with Google Apps Script). This issue tasks is to research QUnit and GasT for unit test implementation, documenting findings, and proposing a setup plan to improve code quality.

Action Items

  • Research QUnit for Google Apps Script:
    • Investigate QUnit’s compatibility with GAS, focusing on testing scripts like project_onboarding.gs, bot.gs, and ZoomAttendeeReport.gs.
    • Identify setup requirements (e.g., library integration, test runner configuration).
    • Document advantages, limitations, and examples (e.g., testing projectOnboardingAutomation).
  • Research GasT for Google Apps Script:
    • Explore GasT’s features for GAS unit testing, including setup and integration with our CI/CD pipeline (GitHub Actions, clasp).
    • Compare GasT with QUnit for ease of use, coverage, and community support.
    • Provide sample test cases for key functions (e.g., getRolePermission, setTrigger).
  • Document findings below

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions