Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • thank you i have similar scenario and was finding difficult to write test cases for it. Commented Aug 5, 2018 at 8:34
  • I like this perspective. What you test is your code and your expectations. What I'd add is this is also where you test the design of your own abstractions, interfaces, names, and API because tests let you see them being used. Make sure they make sense even when you don't look inside. Commented Aug 5, 2018 at 15:05