Extracting asserts into my own helper assert methods I realized when the tests would fail, they’d fail inside those methods and the failures were providing no hints as to where the failing test actually called the helper methods.

Now of course the question would be: where do we get the “file” and “line” params from? Well, it turns out Swift offers the compiler macros “#file” and “#line” and we can use those as parameter defaults. So for example: