Engine development
How to develop the Byte Engine.
Testing
Use these commands when working on the engine repository itself.
Run tests
To run the full test suite:
cargo testSome rendering and graphics tests need local GPU support. To skip them during a quick logic-only pass:
cargo test -- --skip render --skip graphicsCode coverage
To generate test code coverage, install cargo-llvm-cov:
cargo install cargo-llvm-covThen generate an LCOV report:
cargo llvm-cov --lcov --output-path coverage/lcov.infoTo see the coverage report inline in VSCode you can use the markis.code-coverage extension.