[POC] JUnit Jupiter best practices#2320
Conversation
elharo
left a comment
There was a problem hiding this comment.
I strongly prefer to prefix method names with "test". method names are verbs that describe what the method does. That's the best practice to follow. A method that tests foo should be named testFoo, not foo.
|
yes everyone has some opinion. This idea(l) is known as https://en.wikipedia.org/wiki/Convention_over_configuration As the whole world is probably following, its hart to outsmart them. |
|
principle here might be DRY as first thing we read is trash just like the null checks. - very first attention already going into void. Thats bad design. We cure this with functional programming, reducing everything. Then we are left over with only real business logic and not fluff. |
|
FYI |

[POC] JUnit Jupiter best practices