We have a rather reach set of unit tests for our Python/Django backend. Most of the tests contain a one or more "happy" path tests and a lot of "negative" test cases checking the validation, error-handling, broken pre-conditions etc.
When, most frequently, a test contains a single happy path test though, it is currently just simply a test named test_ok
(Python unittest method name):
def test_ok(self):
# happy path test here
My understanding is that there are certainly better ways to name positive test cases.
What are some of the best practices and things to take into account to name positive tests?