Example of Autohotkey automated unit testing on Github Actions

This page summarizes the projects mentioned and recommended in the original post on /r/AutoHotkey

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Yunit

    Super simple testing framework for AutoHotkey.

  • We will be using [Yunit](https://github.com/Uberi/Yunit) as our unit test library set up your Yunit test suite to output using the `Junit` format

  • GitHub-Action-Ahk2Exe

    :octocat:⌨ GitHub Action to compile AutoHotKey scripts using Ahk2Exe / AutoHotKey スクリプトを Ahk2Exe でコンパイルする GitHub Action のような何か

  • We will be borrowing the installation script for autohotkey from [Ahk2Exe Github Action](https://github.com/nekocodeX/GitHub-Action-Ahk2Exe) in the `steps` of your workflow you will want, something like this, to install autohotkey ```yaml - name: Install Scoop shell: powershell run: | iwr -useb get.scoop.sh | iex scoop bucket add extras - name: Add to environment variables shell: powershell run: Write-Output ('Path=' + $Env:SystemDrive + '\Windows\System32' + ';' + $Env:UserProfile +'\scoop\shims') >> $Env:GITHUB_ENV - name: Install AutoHotkey shell: powershell run: scoop install autohotkey ```

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • action-junit-report

    Reports junit test results as GitHub Pull Request Check

  • ``` now we need to parse the report, I've been using [action-junit-report](https://github.com/mikepenz/action-junit-report) for that

  • EventEmitter.ahk

    An autohotkey event handling class based on the nodejs's EventEmitter

  • You can find a working example in this project: [EventEmitter.ahk](https://github.com/gustavooavila/EventEmitter.ahk)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts