4 ms·
I don't disagree with much of this. I was talking specifically about a `def test_displays_error_message_when_refresh_times_out()` function. That's too big a n
by BurningFrog 6y ago
I don't disagree with much of this.
I was talking specifically about a `def test_displays_error_message_when_refresh_times_out()` function.
That's too big a name for me to keep in my head, so I'd look for other solutions.
- atoav 6y agoWhy would you want to keep test function names in your head? I would rather use that space for regular functions which are in use throughout my program. Test functions are usually single-use anyways so being greedy with characters makes much more sense elsewhere. The most important thing to remember about a test function is what property it tests (and how). Putting that in the function name as a reminder makes a lot of sense imo.