Byte Engine Docs

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 test

Some rendering and graphics tests need local GPU support. To skip them during a quick logic-only pass:

cargo test -- --skip render --skip graphics

Code coverage

To generate test code coverage, install cargo-llvm-cov:

cargo install cargo-llvm-cov

Then generate an LCOV report:

cargo llvm-cov --lcov --output-path coverage/lcov.info

To see the coverage report inline in VSCode you can use the markis.code-coverage extension.

On this page