# Run all tests
cargo test
# Run tests with output
cargo test -- --nocapture
# Run specific test
cargo test test_order_matchingThe project includes a comprehensive Postman collection for API testing:
-
Import the collection:
postman/centralized-exchange-automated.postman_collection.jsonpostman/centralized-exchange.postman_environment.json
-
Run automated tests:
# Using Newman (Postman CLI) npm install -g newman newman run postman/centralized-exchange-automated.postman_collection.json \ -e postman/centralized-exchange.postman_environment.json
# Using Apache Bench
ab -n 1000 -c 10 http://localhost:8080/health
# Using wrk
wrk -t12 -c400 -d30s http://localhost:8080/health