Fixing Pytest Inter-Test Side Effects
The problem U-Boot’s pytest suite runs hundreds of tests in a single sandbox session. Each test sends commands to a long-running U-Boot process, so state left behind by one test can break those that follow. CI runs all tests in collection order and that is the only configuration known to work. When tests are run…


