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.

Required fields*

10
  • Why do you feel the need to test the internal class? If the controller tests passes you know that the internal class is doing its job don't you? Commented Jul 28, 2018 at 22:24
  • It's very difficult to tell what you're asking. What you're testing isn't clear. What you're expecting isn't clear. I suspect there is a good on topic question here but it needs more work. Please edit the question. Commented Jul 29, 2018 at 1:07
  • @candied_orange I try to better set the question Commented Jul 29, 2018 at 7:02
  • @Goyo because in a large codebase, if I delete the test on the controller, the class remains without testing for example Commented Jul 29, 2018 at 7:03
  • 1
    The only legitimate reason to delete the test for the controller would be if you also delete the controller, in which case you also would delete the helper. No? Commented Jul 29, 2018 at 9:21