Skip to content

README: document running the tests locally#1221

Open
drnic wants to merge 1 commit into
ArduPilot:masterfrom
drnic:docs/running-tests
Open

README: document running the tests locally#1221
drnic wants to merge 1 commit into
ArduPilot:masterfrom
drnic:docs/running-tests

Conversation

@drnic

@drnic drnic commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary

The README explains how to install pymavlink but not how to run the test suite locally. Running it from a bare checkout has two non-obvious requirements, so this documents them.

If there is a better/preferred way to setup for local development, let me know and I'll update PR. This is how I got it working.

Comment thread README.md Outdated
@drnic drnic force-pushed the docs/running-tests branch 2 times, most recently from 7f6005f to 1ae4385 Compare June 22, 2026 07:15
Comment thread README.md Outdated
@drnic drnic force-pushed the docs/running-tests branch from 1ae4385 to 796a026 Compare June 22, 2026 07:35
Add a 'Running the tests' section showing how to fetch the message
definitions and run pytest, mirroring CI, plus the PYTHONPATH needed so
the local checkout is imported as the pymavlink package.
@drnic drnic force-pushed the docs/running-tests branch from 796a026 to 4190f97 Compare June 22, 2026 07:39

@peterbarker peterbarker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants