Validating your tests

I wanted to create validation tests against a new generic test I have made.

Let’s say I created the test unique macro and to test the logic, I can perhaps seed some mock data and run a “test” on the mock data to ensure a field in my mock data only has unique values.

Also, I want to create a converse test to ensure the test unique catches where a field does not have unique values, but I want this converse test to return true (if this makes any sense so far) such that when I run all my validation tests, they come back passing like how you test for both pass and failed situations in unit tests for python.

Wondering if anyone had some ideas on how to do this, so I it won’t trigger my OCD and I can see all passing validation tests.