Fork me on GitHub
#testing
<
2021-02-25
>
Noah Bogart17:02:56

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

Noah Bogart17:02:20

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

Noah Bogart17:02:48

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?