Testing framework#430
Open
AydinIqbalNU wants to merge 27 commits into
Open
Conversation
✅ Deploy Preview for harp3 canceled.
|
✅ Deploy Preview for harp-plugin-old canceled.
|
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This unit testing framework allows for 2 new points of functionality.