Skip to content
CHESS-missionPublic

About

NEST is modular framework for reproducible software-in-the-loop testing of embedded systems.

Resources

Stars

5 stars

Watchers

2 watching

Forks

Repository files navigation

NEST (Numerical Environment for Software Testing) is modular framework for reproducible software-in-the-loop testing of embedded systems.

Building from source

Building NEST from source requires the following dependencies:

Then the server release binary can be built using Cargo Leptos:

cargo install --locked cargo-leptos
cargo leptos build --release

Building with Nix

NEST provides both a fully-featured development shell and the nest-server package as outputs of its Nix flake. You can manually build NEST by entering the development shell, which provides all the project's build dependencies and some useful runtime tools (e.g. QEMU, picocom):

nix develop
cargo leptos build --release

Alternatively, you can directly build NEST with Nix:

nix build                            # local build
nix build github:CHESS-mission/nest  # or build source from github

Docker image

Building and running NEST inside a Docker container is a convenient option both for development and deployment. Start by building our Debian-based image, which builds NEST as part of the process.

docker build -t nest-server:latest .

Then, run NEST in the container (forwarding port 3000 to the host).

docker run --rm -p 3000:3000 --shm-size=2g nest-server:latest

Note

In NEST, QEMU VMs use /dev/shm as a file-backed memory backend (required for vhost-user devices). Docker limits shared memory to 64MB by default, so make sure to increase it to accommodate the total RAM of all running VMs with --shm-size.

You may also directly pass arguments to NEST by appending them to the command.

docker run --rm -p 3000:3000 --shm-size=2g nest-server:latest --help

Documentation

You can view the documentation online, or build and serve it locally with uv:

uv run --project docs-build zensical serve

Citing NEST (BibTeX)

@inproceedings{NEST,
    editor       = {Detrell, Gisela;Messina, Vincenzo;García Alarcia, Ramón María;Kinnaird, Alexander},
    author       = {Felber, Nathan and Fiszbin, Vincent and Noublanche, Hugo and De Zen, Alessandro and Sandoz, Quentin and Anastassova, Emma},
    title        = {NEST: A Modular Framework for Reproducible Software-in-the-Loop Testing of Spacecraft Systems},
    booktitle    = {Proceedings of the 5th Symposium on Space Educational Activities (SSEA)},
    year         = {2026},
    publisher    = {Technical University of Munich (TUM)},
    organization = {Technical University of Munich (TUM) and European Space Agency (ESA)},
    doi          = {10.14459/2026md1857626},
    language     = {en},
}

About

NEST is modular framework for reproducible software-in-the-loop testing of embedded systems.

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages