Skip to content

test: add minimal offline test suite - #47

Merged
yang-dong-yd merged 2 commits into
mainfrom
test/add-minimal-smoke-suite
Nov 4, 2026
Merged

yang-dong-yd merged 2 commits into
mainfrom
test/add-minimal-smoke-suite

Conversation

@yang-dong-yd

Copy link
Copy Markdown
Contributor

Summary

Add a minimal offline test suite so litearm-python keeps a real test gate without restoring the previous large pytest suite. The tests cover the public API, error hierarchy, pose math, and one full fake-transport session; no production code changes.

Changes

  • Add tests/test_smoke.py with four standard-library unittest tests:
    • version string
    • error class hierarchy
    • RPY rotation round trip and orthonormality
    • Arm session over litearm.testing.FakeTransport with get_state()
  • Add a Test step to the existing Python 3.10/3.13 matrix; the test gate job remains unchanged.
  • Leave src/, pyproject.toml, examples, and docs unchanged.

Testing

  • python -m unittest discover -s tests -q -> 4 tests passed (Python 3.11).
  • The PR runs the suite in both matrix jobs; no hardware is opened.
  • check-commit.sh --range origin/main..HEAD -> pass.

Issues

None.

Checklist

  • The title follows Conventional Commits and matches the commit subject.
  • The body is written in English.
  • Tests were run and the result is stated above.
  • New and modified human-facing documents are paired with .zh-CN.md.
  • No secrets, credentials, or private URLs are included.
  • Closes is used only when the pull request fully resolves the issue.

@yang-dong-yd
yang-dong-yd merged commit 5643e47 into main Nov 4, 2026
3 checks passed
@yang-dong-yd
yang-dong-yd deleted the test/add-minimal-smoke-suite branch November 4, 2026 03:19
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant