Using Kentico 12 SP, hotfix 64 - I can create faked TreeNode types and set values on most of the fields, but I can't set a return value for Parent which I need to do to run a test on a method.The m...
I'm starting out in my Kentico developer journey and creating an MVC site. I wish to write unit tests against my Builder classes but they rely upon auto-generated provider classes that come out of ...
I have a method which is using DocumentHelper API from Kentico:public static TreeNode GetDocument(string pageType, string aliasPath) { var document = DocumentHelper.GetDocuments().Types(pageTy...
I have a problem running the Kentico UnitTests. I get the following error:NUnit Adapter 3.6.1.0: Test execution started Running selected tests in xxxxxx.dll NUnit3TestExecutor converted 1 of 1 NUni...
My unitTests not longer work after Update from Kentico 9 to Kentico 10.I have a UnitTest like this. (worked fine on Kentico 9) [SetUp] public void setUp() { this.pageCreator = ne...
I have a Problem with creating automated test project on Kentico 9.There is a tutorial on https://docs.kentico.com/display/K9/Creating+automated+test+projectsThe Problem is: if my Test Class inher...
I'm getting an odd NullReferenceException that I can't understand when trying to mock up a collection to enumerate. I don't think it's anything caused by Mock but I'm not 100% sure. Can anyone iden...