Skip to content

Conversation

@sebastian-ederer
Copy link
Contributor

This PR establishes a comprehensive test suite for the core TimescaleDB EF Core provider, significantly improving code quality and maintainability.

   - Model extractors (Hypertable, ReorderPolicy, ContinuousAggregate)
   - Differs for detecting migration changes
   - Conventions for data annotation processing
   - TypeBuilders for Fluent API configuration
   - Operation generators for SQL/C# code generation

   Integration Tests (Testcontainers):
   - Hypertable creation and modification
   - Reorder policy lifecycle
   - Continuous aggregate materialized views
   - Scaffolding extractors for database-first scenarios
   - Full migration lifecycle tests

   Configuration:
   - Add coverlet.runsettings for code coverage exclusions
   - Add stryker-config.json for mutation testing
   - Update .gitignore for test artifacts
  Add comprehensive unit tests for Configuration attributes (HypertableAttribute,
  Dimension, ReorderPolicyAttribute) with validation and edge case coverage.

  Enhance existing tests with error handling scenarios:
  - HypertableConvention: null entity types, whitespace time columns
  - ContinuousAggregateOperationGenerator: invalid parameters, edge cases
  - HypertableScaffoldingExtractor: connection state handling, malformed data

  Fix coverlet.runsettings by removing stray 'S' character that was causing
  XML parsing issues.

  Update README.md with explicit test coverage output directories for clarity.
@sebastian-ederer sebastian-ederer merged commit a7196e5 into main Nov 25, 2025
2 checks passed
@sebastian-ederer sebastian-ederer deleted the test/core_package_tests branch November 25, 2025 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants