SIENTIAPDE-1250: Refactor: Remove 'laborious' directory from test structure and update README.md accordingly.
This commit is contained in:
24
README.md
24
README.md
@@ -799,11 +799,10 @@ The `.github/workflows/quality-gate.yml` workflow automatically runs all validat
|
|||||||
### Test Structure
|
### Test Structure
|
||||||
```
|
```
|
||||||
tests/
|
tests/
|
||||||
├── laborious/
|
├── activities/ # Activity implementation tests
|
||||||
│ ├── activities/ # Activity implementation tests
|
├── workflows/ # Workflow orchestration tests
|
||||||
│ ├── workflows/ # Workflow orchestration tests
|
├── utils/ # Utility function tests
|
||||||
│ ├── utils/ # Utility function tests
|
└── worker/ # Worker tests
|
||||||
│ └── worker/ # Worker tests
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Test Execution
|
### Test Execution
|
||||||
@@ -815,8 +814,8 @@ pip install pytest pytest-cov pytest-asyncio
|
|||||||
pytest --cov=model_manager --cov-report=html
|
pytest --cov=model_manager --cov-report=html
|
||||||
|
|
||||||
# Run specific test modules
|
# Run specific test modules
|
||||||
pytest tests/laborious/activities/test_gates.py
|
pytest tests/activities/test_gates.py
|
||||||
pytest tests/laborious/workflows/test_predictions_batch.py
|
pytest tests/workflows/test_predictions_batch.py
|
||||||
```
|
```
|
||||||
|
|
||||||
## Monitoring and Metrics
|
## Monitoring and Metrics
|
||||||
@@ -981,7 +980,7 @@ The project maintains **99%+ code coverage** with comprehensive unit and integra
|
|||||||
pytest tests/ --cov=model_manager --cov-report=term-missing --cov-report=xml --cov-report=html
|
pytest tests/ --cov=model_manager --cov-report=term-missing --cov-report=xml --cov-report=html
|
||||||
|
|
||||||
# Run specific test file
|
# Run specific test file
|
||||||
pytest tests/laborious/activities/test_gates.py -v
|
pytest tests/activities/test_gates.py -v
|
||||||
|
|
||||||
# Run with coverage visualization
|
# Run with coverage visualization
|
||||||
pytest tests/ --cov=model_manager --cov-report=xml
|
pytest tests/ --cov=model_manager --cov-report=xml
|
||||||
@@ -1089,11 +1088,10 @@ model_manager/
|
|||||||
- **Test structure**:
|
- **Test structure**:
|
||||||
```
|
```
|
||||||
tests/
|
tests/
|
||||||
├── laborious/
|
├── activities/ # Activity tests
|
||||||
│ ├── activities/ # Activity tests
|
├── workflows/ # Workflow tests
|
||||||
│ ├── workflows/ # Workflow tests
|
├── utils/ # Utility tests
|
||||||
│ ├── utils/ # Utility tests
|
└── worker/ # Worker tests
|
||||||
│ └── worker/ # Worker tests
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|||||||
Reference in New Issue
Block a user