More in this section
Forums / Developing with Sitefinity / Unit testing when accessing the config entries

Unit testing when accessing the config entries

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    03 Dec 2008
    11 Mar 2013
    Link to this post

    Hey there,
      I need to unit test a few of my classes...problem is in the context of a TestProject\TestMethod calls the the config entry (Config.Get<type>) are throwing Object Ref the same code in the context of the webapp and it works fine.

     What's best prac here?


1 posts, 0 answered