Unit test - synchronization of staging tasks

Lakshan Perera asked on November 17, 2021 10:23

Created a custom module with a module class. And enabled staging feature. (https://docs.xperience.io/k12sp/custom-development/creating-custom-modules).

And I need to write a test case (Unit Test) for the staging task synchronization of the module class items.

Can we do that with faking Info and Provider objects? Can help to provide an example code?

Recent Answers

Brian McKeiver answered on November 20, 2021 17:53

The documentation on Unit Testing in Kentico 12 is probably your best resource here.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.