Questions asked by Joel17https://answers.axonivy.com/questions/asked-by/573/joel17/?type=rssQuestions asked by <a href="/users/573/joel17" >Joel17</a>enWed, 11 May 2016 16:56:53 -0400Access IvyContext within a JUnit Testhttps://answers.axonivy.com/questions/1773/access-ivycontext-within-a-junit-test<p>I'm currently working on a JUnit Test that checks the values of Global Variables. Now the problem is, if I try to get the Global Variable Value using this line of code: <em>String var = Ivy.var().get("BASEDEF_PORTAL_SESSION_TIMEOUT");</em> the test immediately crashes. Is there a way to access the IvyContext in a JUnit test.</p>Joel17Wed, 11 May 2016 16:56:53 -0400https://answers.axonivy.com/questions/1773/access-ivycontext-within-a-junit-testjunitivy