Integration tests
Instructions for all tests:
- Update the values in
tests/common/config.rsaccording to your environment cargo test -- --nocapture: displays thelogoutput, useful for debugging
KVM
Requirements
- virtual machine already configured to be introspected by KVM-VMI
- VM snapshot with live state
- libkvmi
virshtool: (libvirt-clientspackage)
The VM state between each test is handled by the following commands:
- setup:
virsh snapshot-revert <vm_name> --current --running - teardown:
virsh destroy <vm_name>
Execution
cargo test --feature kvm