Spaces:
Running
Running
File size: 1,410 Bytes
ab3b988 21ef00c f4bf1d8 ab3b988 a769459 ab3b988 202b784 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
---
title: PromptAid Vision
emoji: π
colorFrom: blue
colorTo: red
sdk: docker
app_port: 7860
pinned: false
---
# PromptAid Vision
A comprehensive vision analysis platform for crisis mapping and drone image processing.
## Testing
### Frontend Tests
- **Unit Tests**: `frontend/src/test/unit_tests/` - Component and hook testing with Vitest
- **Integration Tests**: `frontend/src/test/integration/` - Component interaction testing
### Backend Tests
- **Unit Tests**: `py_backend/tests/unit_tests/` - Individual service testing
- **Integration Tests**: `py_backend/tests/integration_tests/` - API and workflow testing
### End-to-End Tests
- **E2E Tests**: `e2e/` - Complete user workflow testing with Playwright
- **CI/CD**: `.github/workflows/e2e.yml` - Automated E2E testing pipeline
## Quick Start
### Development
```bash
# Frontend
cd frontend
npm install
npm run dev
# Backend
cd py_backend
pip install -r requirements.txt
uvicorn app.main:app --reload
```
### Testing
```bash
# Frontend tests
cd frontend
npm run test:unit
npm run test:integration
# Backend tests
cd py_backend
python -m pytest tests/
# E2E tests
cd e2e
./run_e2e_tests.sh
```
## Project Structure
```
βββ frontend/ # React + TypeScript
βββ py_backend/ # FastAPI + Python
βββ e2e/ # End-to-end tests
βββ .github/workflows/ # CI/CD pipelines
```
|