How to access private function from a stub callback?

nokorunokoru Posts: 13

I have a private function that needs to be called normally or needs to be stubbed depending on the test case. So, I either need to be able to apply the stub of the private function only to specific test case or be able to call the original private function from within the stub callback. Anyone knows how to do either?

Best Answer

Answers

  • nokorunokoru Posts: 13

    How do I go about adding stub via test case editor? I can't seem to find test case editor anywhere.

  • MirekMirek Posts: 132 ✭✭✭

    @nokoru,

    Please right-click on the test suite in the test case explorer > Add New > Test Cases Using Editor

Sign In or Register to comment.