indygreg / indygreg/PyOxidizer
Support `pyoxidizer run --example <NAME>`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 256
- PR merge metrics
- No merged PRs in 30d
Description
Thanks for the awesome work you're doing here!
I'd like to have some integration type tests via running examples, typically done with `cargo run --example some-example`. My project is of the _Python-flavored_ Rust code variety.
Is this possible to do with PyOxidizer? I've naively tried with `pyoxidizer run --example` but of course that fails as there's no option for it. And I suppose the same applies for `cargo test`, I'm not sure how to run Rust tests which make use of the Python interpreter via PyOxidizer.
Is there an alternative, or perhaps I'm missing something obvious :question:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the `pyoxidizer run` command handles arguments and compare it with the requested `cargo run --example ` workflow. Then investigate how `cargo test` could run Rust tests that use the Python interpreter; done means the supported example and test workflows are clearly defined and usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- build-system, cli, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100