testing

Testing tools, testing philosophy & methodology...
NoahTheDuke 2021-02-25T17:17:56.008100Z

my codebase is for a game, so I have a bunch of helper test functions that perform the set-up/checks that the UI normally performs (like (click-card card) verifies the card exists and can be clicked). i wrote the helpers as macros so that when the verification fails in some way, the line-number is not in an unrelated test_fixtures.clj file

NoahTheDuke 2021-02-25T17:18:20.008700Z

however, I've discovered that this bloats my total test suite time from 35-40 seconds to 1:45-2 minutes

NoahTheDuke 2021-02-25T17:20:48.009800Z

does anyone have clever methods of making the line numbers correctly point to the right place while not slowing down both compilation and execution of the test code?