Metadata-Version: 2.1
Name: pytest-embedded-qemu
Version: 0.3.2
Summary: pytest embedded plugin for qemu, not target chip
Home-page: https://docs.espressif.com/projects/pytest-embedded/en/latest/
Author: Fu Hanxi
Author-email: fuhanxi@espressif.com
License: MIT
Platform: UNKNOWN
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.6
Requires-Dist: pytest-embedded
Provides-Extra: idf
Requires-Dist: pytest-embedded-idf ; extra == 'idf'

## pytest-embedded-qemu

pytest embedded plugin for qemu, not target chip

### New Fixtures and Fixtures With More Functionalities

=== "`pytest-embedded-idf` activated"

    - `app`: `QemuApp` instance, would create the qemu bootable image automatically by the built binaries.
    - `qemu`: `Qemu` instance
    - `dut`: `QemuDut` instance, would redirect the `qemu` output to `pexpect_proc` and duplicate it with `logging.info()`.

=== "`pytest-embedded-idf` NOT activated"

    - `qemu`: `Qemu` instance
    - `dut`: `QemuDut` instance, would redirect the `qemu` output to `pexpect_proc` and duplicate it with `logging.info()`.

### CLI Options

- `qemu-image-path`: QEMU image path. (support parametrizing)
- `qemu-prog-path`: QEMU program path.
- `qemu-cli-args`: QEMU CLI arguments. (support parametrizing)
- `qemu-cli-extra-args`: QEMU CLI extra agruments, will append to the argument list. (support parametrizing)
- `qemu-log-path`: QEMU log file path.


