Testing Guide¶
How to run and write tests for FetchML.
Running Tests¶
Quick Test¶
# All tests
make test
# Unit tests only
make test-unit
# Integration tests
make test-integration
# With coverage
make test-coverage
## Quick Test
```bash
make test # All tests
make test-unit # Unit only
.
make test.
make test$
make test; make test # Coverage
# E2E tests
Docker Testing¶
docker-compose up -d (testing only)
make test
docker-compose down
CLI Testing¶
cd cli && zig build dev
./cli/zig-out/dev/ml --help
zig build test