Skip to Content
0
Jun 25, 2020 at 06:44 AM

Accessing global variables in PBunit

49 Views

Hello,

I am trying to develop a Unit Testing framework for our application using PBunit. In our application there is one global variable declared at application level of type STRING. And this variable is used throughout application. So whenever I write any testcase and try to run it using PBunit exe, I get an error as "Unresolvable external [Name of global variable] when linking reference at line .....".

Can anyone please tell me how to invoke Global variables via PBunit?