Add admin port support with other major refactorations
This commit is contained in:
@@ -8,7 +8,7 @@ A high-performance, Object-Oriented Python client for OpenTTD servers, specifica
|
||||
- **Stream Encryption:** Automatic XChaCha20-Poly1305 authenticated encryption for all game traffic.
|
||||
- **Modular Design:** Separates low-level binary protocol handling from high-level game logic.
|
||||
- **State Management:** Handles the full join sequence including Map download and synchronization.
|
||||
- **100% Test Coverage:** Robustly tested with unit, logic, and E2E tests.
|
||||
- **Comprehensive Testing:** Robustly tested with unit, logic, and E2E tests (including 100% coverage for unit/logic tests).
|
||||
|
||||
## 🛠 Setup
|
||||
|
||||
@@ -63,10 +63,11 @@ await client.joined.wait()
|
||||
- `tests/`: Comprehensive test suite (Logic, Protocol, E2E).
|
||||
|
||||
## 🧪 Testing
|
||||
We maintain 100% test coverage. To run tests:
|
||||
We maintain high test coverage. To run normal (non-E2E) tests:
|
||||
```bash
|
||||
PYTHONPATH=lib pytest --cov=openttd tests/
|
||||
pytest -m "not e2e"
|
||||
```
|
||||
For detailed instructions on E2E testing and coverage reports, see the [Testing Guide](file:///home/kovagoadi/openttd-client/docs/TESTING.md).
|
||||
|
||||
## 📜 Documentation
|
||||
- [Architecture & Design](docs/ARCHITECTURE.md)
|
||||
|
||||
Reference in New Issue
Block a user