mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

353K
active users

Danny Mösch

Is it reasonable to enable strict concurrency checking in test targets?

In SwiftLint, most of the code is now 5 (language mode) with StrictConcurrency=complete but test targets are left out.

Is it worth the effort to enable the checks? It feels like a lot of work without an obvious benefit.

@SimplyDanny I have caught lots of API design issues this way! It depends I guess on how much of your public API is exercised internally.

@SimplyDanny I enable it for everything. Why would I want different compiler behavior in test targets? I’d rather consistency.