testing-patterns

Installation
SKILL.md

Testing Patterns

Lupin uses a three-tier testing strategy for comprehensive validation.

Test Tiers Overview

Tier Location Speed Purpose Run Command
Unit src/tests/unit/ 1-10ms Isolated functions pytest src/tests/unit/
Smoke inline quick_smoke_test() 10-100ms Module sanity python -m cosa.rest.jwt_service
Integration src/tests/integration/ 100-1000ms End-to-end flows ./src/tests/run-integration-tests.sh -v
WebSocket src/tests/websocket_smoke/ varies WS functionality src/scripts/run-websocket-smoke-tests.sh
Live Pipeline src/tests/smoke/test_*_live_pipeline.py 10-120s Full LLM pipeline python src/tests/smoke/test_calculator_live_pipeline.py
UI E2E src/tests/e2e/ 5-30s Browser-level UI flows (Planned v0.1.6)

Quick Commands

Installs
1
Repository
deepily/lupin
First Seen
Apr 2, 2026
testing-patterns — deepily/lupin