singular test cases to warn and alert

Is there a way to make singular test case as warning incase there is a testcase failure? And also send an alert for the warning. Right now dbt job fails if there is a test case failure and can send alerts only if there is a job failure. The goal for me is to check the count between two tables and send us a waring if it doesn’t match. I don’t want the test case to fail but instead send us a warning alert.