Name | Layer | Type | Description |
---|---|---|---|
app/models/visitor_pass.rb | Domain | Aggregate | Pass-related domain |
app/services/tracker_service.rb | Domain | Domain Service | Logic between door and visitor interaction |
app/controllers/passes_controller.rb | Application | Use Case | The user flow of "pass" a door |
Name | Type | Description |
---|---|---|
features/door_track.feature | E2E | Verify the user flow work correctly |
spec/services/tracker_service_spec.rb | Unit | Verify the business logic work correctly |