-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
Víctor Hernández edited this page Sep 15, 2026
·
1 revision
English · Español
The testing guide lives in the repository so that it changes together with the code: docs/TESTING.md.
It is organised in three independent levels:
| Level | What you check | Requirements |
|---|---|---|
| 1. Scientific core | Build, 16 automated tests, running the detector on a sample ERA5 case, determinism, benchmark | Docker only |
| 2. Automated portal checks | API, frontend and Python service tests, the same as CI | Node.js 22, Python 3.10+ |
| 3. Full stack | The portal end to end with real ERA5 data | Docker, Node.js 22, Copernicus CDS account |
The quickest check needs only Docker, run from the repository root:
docker run --rm -v "$PWD:/src:ro" -w /src \
victorhndz/netcdf-base@sha256:6f448a9eda3a12073be2c427d524d984387a85fc408a2f5755b648f59361a429 \
sh -c 'cmake -S backend/FAST-IBAN_Project/execution/code -B /tmp/build \
&& cmake --build /tmp/build --parallel \
&& ctest --test-dir /tmp/build --output-on-failure'On Windows with Git Bash, see section 1.1 of the guide.
AtmosBlock · MIT License · 🌐 English / Español