This directory contains unit and integration tests for the URL Shortener application.
To run all tests:
poetry run pytestThe tests cover the following functionality:
- Basic application health check
- URL shortening functionality
- URL retrieval by short code
- Custom alias functionality
These tests use a SQLite in-memory database for testing, which is isolated from the production database.