Having a test application showing inaccurate guardrail warnings in trunk

Recently I saw a presentation that having a QA (test) application in our application stack is a best practice. Attached.

i.e. Dev/branch application is built on QA/test application, which is built on Prod/trunk application.

In this model, we noticed that the trunk application showing inaccurate guardrail warnings and % compliant score. Even if there are valid test cases defined, the rules merged to trunk still show this warning:



You should create a test case for this rule to identify any regression issues that might occur when this rule is modified.

This is probably because the test cases are merged to the test application, which is not visible to the trunk application.

Is there any solution for this or work around?

@Will Cho In addition, the branch quality metrics also seem wrong when using a test application. That’s probably because the branch ruleset for trunk (where rules are merged) is below the branch ruleset for test app (where test cases are merged). See attached.

@Will Cho There was a missed configuration under Application > Quality > Settings. Make sure to select your test application under “Include built-on applications” section. This resolved the issues.