How to name your unit tests: Four test naming conventions

from blog Just Some Code, | ↗ original
From our previous post, we learned about four common mistakes we make when writing our first unit tests. One of them is not to follow a naming convention. Let’s see four naming conventions for our unit tests. Test names should tell the scenario under test and the expected result. Writing long names is acceptable since test names should show the...