4 ms·
You are naming your tests wrong
- deleted 2y ago[deleted]
- cratermoon 2y agoWhat would happen if we inverted the order? If we started with a good test name, descriptive of the behavior under test, and named the things being tested based on the test name.
- PaulHoule 2y agotenPlusTwentyIsThirty() for the win. No need to name the test article in the test method because you build that into the name of the test class.
- dlcarrier 2y agoThe article doesn't even mention my favorite convention: test() FinalTest() FinalTestCheck() FinalTestCheck_dontuse() FinalTestCheck_dontuse_WorkingFix()