microsoft/openvmm

Public

mirrored fromhttps://github.com/microsoft/openvmmAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
fe2bbc9829558a07c5e06d2b6ececc383b6593bf

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/instructions/vmm-tests.instructions.md

20lines · modepreview

---
applyTo: "vmm_tests/**,petri/**"
---

# Running VMM Tests

VMM tests are **not** regular unit tests. Do NOT run them with
`cargo nextest run -p vmm_tests` or `cargo test -p vmm_tests` — they require
external artifacts (disk images, firmware, OpenHCL binaries) that won't be
present, causing confusing failures.

Use `cargo xflowey vmm-tests-run` instead. It automatically discovers
artifacts, builds dependencies, and runs tests in a single command:

```bash
cargo xflowey vmm-tests-run --filter "test(my_test_name)" --dir /tmp/vmm-tests-run
```

To learn the full workflow (filter syntax, cross-compilation, logging, common
pitfalls), load the `vmm-tests` skill.