Skip to content

Different thresholds for same rule #4055

Answered by cortinico
damienmiheev asked this question in Q&A
Discussion options

You must be logged in to vote

Is it possible to configure it such way?

I believe not. The closest approximation to this is to enable the rule for production, and filter out your test classes with an exclude.

You could also create your own LargeTestClass rule that delegates to LargeClass. This will be a fully separated rule so you can configure it separately (and specify also a different exclude).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by schalkms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants