- Add complete API documentation and architecture guides - Include quick start, installation, and deployment guides - Add troubleshooting and security documentation - Include CLI reference and configuration schema docs - Add production monitoring and operations guides - Implement MkDocs configuration with search functionality - Include comprehensive user and developer documentation Provides complete documentation for users and developers covering all aspects of the FetchML platform.
46 lines
589 B
Markdown
46 lines
589 B
Markdown
# Testing Guide
|
|
|
|
How to run and write tests for FetchML.
|
|
|
|
## Running Tests
|
|
|
|
### Quick Test
|
|
|
|
```bash
|
|
# 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
|
|
```bash
|
|
docker-compose up -d (testing only)
|
|
make test
|
|
docker-compose down
|
|
```
|
|
|
|
## CLI Testing
|
|
```bash
|
|
cd cli && zig build dev
|
|
./cli/zig-out/dev/ml --help
|
|
zig build test
|
|
```
|