Skip to content

Commit eae9f90

Browse files
authored
docs(readme): add running tests section
1 parent 4226008 commit eae9f90

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,23 @@ find_package(hmac_cpp CONFIG REQUIRED)
5656
target_link_libraries(my_app PRIVATE hmac_cpp::hmac_cpp)
5757
```
5858

59+
## 🧪 Running Tests
60+
61+
Enable tests during configuration and run them with CTest:
62+
63+
```bash
64+
cmake -B build -DBUILD_TESTS=ON
65+
cmake --build build
66+
cd build
67+
ctest --output-on-failure
68+
```
69+
70+
Alternatively, use the helper script:
71+
72+
```bash
73+
scripts/run_tests.sh
74+
```
75+
5976
## 📦 MQL5 Compatibility
6077

6178
The repository includes `sha256.mqh`, `sha512.mqh`, `hmac.mqh`, and `hmac_utils.mqh` files, fully compatible with `MetaTrader 5`.

0 commit comments

Comments
 (0)