HarperFast / HarperFast/harper

Component integration tests

Open
#361 2 comments 0 reactions 1 assignee Claimed by @ldt1996 View on GitHub
enhancement
Dominant language
JavaScript
Stars
89
Forks
10
Avg merge
2d 6h
Merged PRs (30d)
200

Description

### Feature Summary

New integrationTests/components/ directory. Single node: deploy component from GitHub, seed data, hit endpoints, assert responses. Runs on PR + merge to main. Covers the functional logic layer for all five components:

- [ ] risk-query
- [ ] redirector
- [ ] early-hints
- [ ] acl-connect
- [ ] ecommerce-template

### Problem This Solves

Component regressions are currently caught through manual QA. These tests automate that coverage so breakages in core Harper that affect components are caught in CI before they reach production.

### Proposed Solution

One test file per component in `integrationTests/components/`. Each test uses `harperLifecycle.ts` to start a local harper instance, deploys the component via `deploy_component` , polls until ready, runs functional assertions against the HTTP API.

### Priority/Impact

High - critical for user success

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.