Historical: Linux-based prototype
Testing
This page documents the earlier Linux-based prototype as of 24 November 2026. It does not describe the independent Khelforge OS, and its steps are not instructions for it. See the independent Khelforge OS.
Khelforge is tested with unit tests, offscreen interface tests, a container with real login software and disposable virtual machines. One development laptop has also been used to look at the desktop on a real display. There is no hardware lab, no game has been run, and no benchmark exists.
Layers
Section titled “Layers”Diagram as text
- Unit tests → Offscreen interface
- Code checks → Offscreen interface
- Memory error checks → Login container
- Offscreen interface → Display VM tests
- Login container → Display VM tests
- Display VM tests → Hardware matrix
- Installer VM tests → Hardware matrix
- Hardware matrix → Games, benchmarks
- Unit tests: no display
- Memory error checks: unit tests again
- Offscreen interface: software rendering
- Login container: real PAM and greetd
- Display VM tests: boots the system
- Installer VM tests: writes test disks
- Hardware matrix: does not exist, planned
- Games, benchmarks: do not exist, planned
| Category | Proves | Does not prove |
|---|---|---|
| Unit tests | Logic and shipped configuration | That anything displays or boots |
| Integration tests | Parts work with real PAM, D-Bus and Wayland software | Real graphics |
| Interface code checks | Fewer mistakes in interface code | Appearance or behaviour |
| Static analysis | Known bug patterns are absent | Absence of bugs |
| Memory error checks | Tested paths have no memory errors | Untested paths |
| Interface and visual tests | Keyboard, layout and states | GPU rendering or performance |
| Virtual machine tests | Boot, login, lock, accounts, recovery | Any physical device |
| Installer tests | Installation onto test disks | Installation on a real computer |
Evidence labels
Section titled “Evidence labels”Work can be designed, implemented, verified in a virtual machine, verified on named hardware, or eligible for release. No part of Khelforge carries the last label. This site uses its own status words, described in release stages.
Which runs count
Section titled “Which runs count”Only a complete run counts as verification. A preview or a partial run does not. The installer VM tests are not part of the complete run. They are started separately.
Regression rule
Section titled “Regression rule”A bug fix needs a test that fails without the fix.
More about testing
Section titled “More about testing”| Topic | Page |
|---|---|
| Hardware | Hardware testing |
| Games | Gaming compatibility testing |
| Speed | Performance testing |