You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Many tests have no [Trait("Area", ...)], so --filter-trait "Area=..." cannot select them and the areas give an incomplete picture of the suite. On main, 47 test files have no Area trait at all and 11 more set it only on some of their tests:
Partly covered: Reconciler.Test.cs, ResourceWatcher{TEntity}.Test.cs, OperatorBuilder.Test.cs, OperatorBuilderQueueStrategy.Test.cs, EntityQueueBackgroundService.Test.cs, TimedEntityQueue.Test.cs and five generator tests.
#1301 adds the traits for the webhook and Aspire hosting tests.
Describe the solution you would like
Give every test an Area trait, on the class where all its tests share one area and on the method otherwise. Reuse the existing area names where they fit (e.g. LeaderLoss, Rbac, Selectors, Retry, Logging) and add new ones only for areas that have none yet.
Additional Context
The file list can be reproduced by searching test/**/*.cs for files with [Fact] or [Theory] but without Trait("Area".
Activity