Topic
2 replies Latest Post - ‏2013-08-24T06:49:49Z by kulyan
kulyan
kulyan
70 Posts
ACCEPTED ANSWER

Pinned topic Is there a way to ask RTRT to ignore checking stub calls?

‏2013-08-22T12:02:53Z |

Hello,

I am performing a test where I just need to check the global variable values.

Is there a way I can ask RTRT tool to ignore the stub calls so that the test reports are passed then?

In other words, I just want the tool to just skip the stub checking for test report.

Thanks in advance.

  • richard.france
    richard.france
    773 Posts
    ACCEPTED ANSWER

    Re: Is there a way to ask RTRT to ignore checking stub calls?

    ‏2013-08-23T08:39:26Z  in response to kulyan

    I assume you use the PTU to make your test:

    you can write the line

    STUB mystubbedFunc others=>() -- this line allows multiple call of the stub 'void mystubbedFunc(...)'

    this line can be written into an ENVIRONMENT block to have to write it only once

    don't forget to write _no in front of each parameters into the DEFINE STUB block to disable the parameter checks of this stub

    • kulyan
      kulyan
      70 Posts
      ACCEPTED ANSWER

      Re: Is there a way to ask RTRT to ignore checking stub calls?

      ‏2013-08-24T06:49:49Z  in response to richard.france

      Hi Richard

      The test is using one of the main functions to invoke a macro for integration test. This main function calls many other functions in the software and is quite often updated. 
      My test is to just test my software integrates which I can prove with global variables. If there is option to disable all stub checks, it would be perfect. Currently, the tests must be updated every time the main function is updated.