Skip to content

Testing framework#430

Open
AydinIqbalNU wants to merge 27 commits into
TEAMuP-dev:developfrom
AydinIqbalNU:testing_framework
Open

Testing framework#430
AydinIqbalNU wants to merge 27 commits into
TEAMuP-dev:developfrom
AydinIqbalNU:testing_framework

Conversation

@AydinIqbalNU

Copy link
Copy Markdown

This unit testing framework allows for 2 new points of functionality.

  1. Unit tests can be written in the tests directory for any source files in HARP.
  2. Upon any pull request or manual run, the requested code is tested against the current code, and the workflow generates a testing coverage report.

@netlify

netlify Bot commented Jun 25, 2026

Copy link
Copy Markdown

Deploy Preview for harp3 canceled.

Name Link
🔨 Latest commit 8a0ef8d
🔍 Latest deploy log https://app.netlify.com/projects/harp3/deploys/6a3c76e14276a50008d91a7b

@netlify

netlify Bot commented Jun 25, 2026

Copy link
Copy Markdown

Deploy Preview for harp-plugin-old canceled.

Name Link
🔨 Latest commit 8a0ef8d
🔍 Latest deploy log https://app.netlify.com/projects/harp-plugin-old/deploys/6a3c76e1b072790008c74c4d

@AydinIqbalNU
AydinIqbalNU changed the base branch from main to develop July 10, 2026 19:49
@cwitkowitz cwitkowitz linked an issue Jul 18, 2026 that may be closed by this pull request
Add comprehensive documentation for the HARP Unit Testing Framework, detailing its purpose, methodology, and implementation guidelines.
This document outlines the traceability between audited HARP source code and the unit test suite, detailing priorities, invariant levels, and test categories for each function.
This file contains unit tests for the Client class, verifying its behavior, API key persistence, and JSON parsing functionality.
This file contains unit tests for GradioClient, focusing on path validation, inference, and payload transformation. It verifies various behaviors without external dependencies.
This file contains tests for the parsing and state-update behavior of controls in HARP. It includes various test cases for boolean, metadata, track, text, numeric, toggle, slider, and combo box components.
This file contains unit tests for the Settings class, verifying its behavior in various scenarios, including initialization, string handling, boolean representation, numeric retrieval, and removal operations.
Add coverage options for harp_tests when enabled
Updated the GitHub Actions workflow to enhance test coverage reporting and improve test result summaries.
Added compile definitions for harp_tests target.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Unit Testing Framework

2 participants