What is the hardest part in writing test cases?

3 points by lawverena ↗ HN
To me, memorizing relationship between modules to make sure my test cases cover most commonly used combinations is the hardest. And I'm still figuring out better solution.

5 comments

[ 3.5 ms ] story [ 14.4 ms ] thread
Writing questions about it on Hacker News has been goddamn hardy!
Mocking third party libraries is pretty hard.
Can you explain more in a scenario example?
The hardest part is planning what you are going to write; that is, identifying the most important of the possible things to test. The writing itself should be fairly straightforward.
How are you identifying important cases to cover right now? I rely on QA and she uses TestRail to manage but it's still common to miss out some important flow.