# Testing Guide

## Test Environments

| Environment | Purpose | URL |
|-------------|---------|-----|
| Development | Local testing | localhost:4200 |
| Staging | Pre-production validation | staging.license.gov.in |
| Production | Live system | license.gov.in |

## Test Categories

### Functional Testing

Verify all features work as expected:
- Application submission flow
- Document upload and validation
- Workflow progression
- Certificate issuance
- Verification portal

### Integration Testing

Verify external integrations:
- DigiLocker authentication
- Payment gateway
- SMS notifications
- Email delivery

### Performance Testing

Verify system under load:
- Concurrent user capacity
- Response time under load
- Database query performance
- File upload throughput

### Security Testing

Verify security controls:
- Authentication bypass attempts
- Authorization enforcement
- Input validation
- Session management

## Test Credentials

| Role | Username | Password |
|------|----------|----------|
| Admin | admin@license.gov.in | (contact IT) |
| Department | dept.test@license.gov.in | (contact IT) |
| Applicant | (use DigiLocker sandbox) | - |

## Reporting Issues

Report test failures to:
- Email: qa@license.gov.in
- Include: Steps to reproduce, expected vs actual result, screenshots
