ort-test
Installation
SKILL.md
Running ONNX Runtime Tests
ONNX Runtime uses Google Test for C++ and unittest (preferred) / pytest for Python.
C++ tests
Test executables
| Executable | What it tests |
|---|---|
onnxruntime_test_all |
Core framework, graph, optimizer, session tests |
onnxruntime_provider_test |
Operator/kernel tests (Conv, MatMul, etc.) across execution providers |
Two attention_op_test.cc files — don't confuse them
There are two same-named files testing different operators. Both build into
onnxruntime_provider_test: