Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 477 Bytes

File metadata and controls

22 lines (14 loc) · 477 Bytes

URL Shortener - Tests

This directory contains unit and integration tests for the URL Shortener application.

Running Tests

To run all tests:

poetry run pytest

Test Coverage

The tests cover the following functionality:

  1. Basic application health check
  2. URL shortening functionality
  3. URL retrieval by short code
  4. Custom alias functionality

These tests use a SQLite in-memory database for testing, which is isolated from the production database.