Skip to content

Template Testing#29

Merged
lbedner merged 1 commit intomainfrom
template-tests
Aug 27, 2025
Merged

Template Testing#29
lbedner merged 1 commit intomainfrom
template-tests

Conversation

@lbedner
Copy link
Copy Markdown
Owner

@lbedner lbedner commented Aug 27, 2025

Template testing for the database component.

Copilot AI review requested due to automatic review settings August 27, 2025 22:07
@lbedner lbedner self-assigned this Aug 27, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds template testing for the database component to the Aegis Stack testing infrastructure. It establishes comprehensive testing coverage for database-enabled stack configurations by adding new test combinations and improving existing test utilities.

  • Adds a new "database" stack combination test case with SQLite-specific configurations
  • Enhances database test isolation with proper table cleanup between tests
  • Removes obsolete Redis testing files and updates template configurations

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/cli/test_stack_generation.py Adds database stack combination test with SQLite dependencies and expected files
tests/cli/test_database_runtime.py Improves test isolation by adding table cleanup in setup_tables fixture
aegis/templates/cookiecutter-aegis-project/{{cookiecutter.project_slug}}/test_redis.py Removes obsolete Redis testing script
aegis/templates/cookiecutter-aegis-project/{{cookiecutter.project_slug}}/pyproject.toml.j2 Adds pydantic.mypy plugin configuration
aegis/templates/cookiecutter-aegis-project/{{cookiecutter.project_slug}}/app/services/system/health.py.j2 Reformats long debug log statements for better readability
Makefile Adds database template testing target and updates full stack to include database component

@lbedner lbedner added this to the Add DB Component milestone Aug 27, 2025
@lbedner lbedner linked an issue Aug 27, 2025 that may be closed by this pull request
@lbedner lbedner merged commit 94e8e8b into main Aug 27, 2025
6 checks passed
@lbedner lbedner deleted the template-tests branch August 27, 2025 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Template Testing and Validation

2 participants