sqlinsight-pro/tests/SQLInsight.Collectors.Tests
Søren Eggert Lundsteen Olsen b2fa78411f Collectors: monitor only chosen databases; database discovery and permission check
CollectorContext carries the instance's DatabaseSelection; the database,
index, Query Store and community-rule collectors skip databases that are not
chosen (system databases always run). DatabaseDiscovery lists every database
with state, size, recovery model, compatibility level and access, and
recognises Dynamics AX with the same signature as the AX rules, through
three-part names only (2000 and 2005+ variants). PermissionCheck reports which
rights from grant-least-privilege.sql the login has (HAS_PERMS_BY_NAME,
version-aware; not possible on 2000).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 13:22:41 +02:00
..
SqlScripts SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
DeadlockParserTests.cs Stop SQLInsight deadlocking itself, and stop reporting its own deadlocks 2026-10-02 07:34:59 +02:00
DiscoveryTests.cs Collectors: monitor only chosen databases; database discovery and permission check 2026-10-02 13:22:41 +02:00
ShowplanAnalyzerTests.cs Fase 2: plan cache analysis 2026-09-29 07:40:09 +00:00
Sql2005CompatibilityTests.cs SQL Server 2005: fix agent jobs and plan analysis, guard against 2008+ syntax 2026-10-01 15:51:39 +02:00
SQLInsight.Collectors.Tests.csproj SQL Scripts: one reviewable script per rule 2026-10-02 13:20:06 +02:00
SqlSelectionTests.cs Fase 2: Always On availability groups and SQL Agent jobs 2026-09-29 07:53:49 +00:00