Skip to content

Add CLI testing infrastructure and contributor docs - #367

Merged
0x76agabond merged 4 commits into
Perfect-Abstractions:mainfrom
0x76agabond:main
Aug 2, 2026
Merged

Add CLI testing infrastructure and contributor docs#367
0x76agabond merged 4 commits into
Perfect-Abstractions:mainfrom
0x76agabond:main

Conversation

@0x76agabond

Copy link
Copy Markdown
Collaborator

Summary

Add CLI testing infrastructure and contributor documentation for testing and code style.

Changes Made

  • Added Vitest as the CLI test runner.
  • Added example tests for modules, pipelines, adapters, and utilities.
  • Added reusable test harnesses and snapshot fixtures.
  • Updated TypeScript configuration to support test files.
  • Added CLI testing and code-style contribution guides.
  • Synchronized the root package lockfile with the new dependencies.

Checklist

Before submitting this PR, please ensure:

  • Code follows the Solidity feature ban - No inheritance, constructors, modifiers, public/private variables, external library functions, using for directives, or selfdestruct

  • Code follows Design Principles - Readable, uses diamond storage, favors composition over inheritance

  • Code matches the codebase style - Consistent formatting, documentation, and patterns (e.g. ERC20Facet.sol)

  • Code is formatted with forge fmt

  • Existing tests pass - Run tests to be sure existing tests pass.

  • New tests are optional - If you don't provide tests for new functionality or changes then please create a new issue so this can be assigned to someone.

  • All tests pass - Run forge test and ensure everything works

  • Documentation updated - If applicable, update relevant documentation

  • Changesets — If this PR changes publishable packages (src/, cli/), changeset-bot will comment if a release note might be needed. You can add one when convenient or defer to maintainers.

Make sure to follow the contributing guidelines.

Additional Notes

@changeset-bot

changeset-bot Bot commented Aug 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 987e64c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@perfect-abstractions/compose-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify

netlify Bot commented Aug 2, 2026

Copy link
Copy Markdown

👷 Deploy request for compose-diamonds pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 987e64c

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Coverage

Metric Coverage Details
Lines 79% 1560/1983 lines
Functions 92% 445/484 functions
Branches 74% 161/217 branches

Last updated: Sun, 02 Aug 2026 12:36:04 GMT for commit 987e64c

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Gas Report

No gas usage changes detected between main and main.

All functions maintain the same gas costs. ✅

Last updated: Sun, 02 Aug 2026 12:36:29 GMT for commit 987e64c

@0x76agabond
0x76agabond merged commit 08caed9 into Perfect-Abstractions:main Aug 2, 2026
10 checks passed
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.

1 participant