|
Some checks failed
particle-os CI / Test particle-os (push) Failing after 1s
particle-os CI / Integration Test (push) Has been skipped
particle-os CI / Security & Quality (push) Failing after 1s
Test particle-os Basic Functionality / test-basic (push) Failing after 1s
particle-os CI / Build and Release (push) Has been skipped
|
||
|---|---|---|
| .. | ||
| integration | ||
| performance | ||
| unit | ||
| conftest.py | ||
| containerbuild.py | ||
| pytest.ini | ||
| README.md | ||
| requirements.txt | ||
| test_build_cross.py | ||
| test_build_disk.py | ||
| test_build_iso.py | ||
| test_flake8.py | ||
| test_manifest.py | ||
| test_manifest_integration.py | ||
| test_opts.py | ||
| test_progress.py | ||
| test_pylint.py | ||
| testcases.py | ||
| testutil.py | ||
| testutil_test.py | ||
| vm.py | ||
Testing deb-bootc-image-builder
This directory contains the test suite for deb-bootc-image-builder.
Test Structure
conftest.py- pytest configuration and fixturestest_build_disk.py- Disk image building teststest_build_iso.py- ISO image building teststest_manifest.py- Manifest validation teststest_opts.py- Command line options teststest_progress.py- Progress reporting teststest_build_cross.py- Cross-architecture build testscontainerbuild.py- Container build utilitiestestutil.py- Test utilities and helpersvm.py- Virtual machine testing utilities
Running Tests
To run the full test suite:
pytest -v
To run specific test categories:
pytest test_build_disk.py -v
pytest test_manifest.py -v
Test Dependencies
Install test dependencies:
pip install -r requirements.txt
Test Environment
Tests require:
- Python 3.8+
- pytest
- podman
- qemu-utils
- ostree