8. Testing and Quality Gates

Test categories

  • C++ unit and integration tests

  • C ABI tests

  • Python binding tests

  • Fortran smoke tests

Minimum pre-merge gate for binding or ABI work

  1. build targets with -j6

  2. run C ABI tests

  3. run Fortran basic test

  4. run Python non-MPI/non-CUDA suite

Regression triage guidance

  • first isolate whether breakage is C++ core, C ABI, or binding adapter

  • check version/packaging assumptions before changing runtime code

  • keep failing tests and root cause linked in PR description

Quality bar

  • no known crashes, leaks, or invalid-handle paths in modified areas

  • docs updated for externally visible changes

  • release checklist updated when introducing new requirements