Repository navigation
SQL Test Coverage #142
Copy link
Copy link
Open
Labels
Area: SQLRelates to the SQL Server database objects; do not use for the repository.Relates to the SQL Server database objects; do not use for the repository.Priority: 1Severity 2: MajorStatus 2: ScheduledPlanned for an upcoming release.Planned for an upcoming release.Type: ImprovementImproves the functionality or interface of an existing feature.Improves the functionality or interface of an existing feature.
Milestone
Description
Recent and upcoming changes to the core data-loading stored procedures, including a brand-new one that powers sitemaps, currently have no automated test coverage. These tests require Visual Studio's SQL testing tooling, which doesn't run from the command line, so it must be authored manually in the designer (Windows only).
Tests
GetTopics stored procedure
-
TopicPayload.Childrenand/ordepth: 1options (@Depth; Allow specifying depth ofITopicRepository.Load()#120) - Loading ascendants, including that a shared ancestor isn't duplicated (
@LoadAscendants) - Loading a single topic, without traversal
- Excluding extended attributes, confirming the flag is calculated correctly for both populated and empty content (
@IncludeExtended,HasExtendedAttributes) - Additional data-inclusion toggles:
- Indexed attributes (
@IncludeIndexed) - Relationships (
@IncludeRelationships) - References (
@IncludeReferences) - Version History (
@IncludeHistory)
- Indexed attributes (
- Bulk-loading procedure (see Batch load
Deferredassociations #127) - Extend the existing default-load test to also confirm the "loaded" vs. "calculated" flag distinction (
dbo_GetTopicsTest)
GetSitemap stored procedure
- Sitemap loading, including its attribute filtering
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: SQLRelates to the SQL Server database objects; do not use for the repository.Relates to the SQL Server database objects; do not use for the repository.Priority: 1Severity 2: MajorStatus 2: ScheduledPlanned for an upcoming release.Planned for an upcoming release.Type: ImprovementImproves the functionality or interface of an existing feature.Improves the functionality or interface of an existing feature.
Activity
Deferredassociations #127