We conducted a study for Unit Testing in our company. In my company, we create custom .NET, Sitefinity, and especially Sitecore. We successfully completed Unit Tests for custom .NET and Sitefinity, but we were unable to get useful tests . For bullying, we use Telerik JustMock and the built-in TestExplorer in Visual Studio. The reason for this was , we had to scoff at a lot , and this led to almost useless trials. In fact, Sitecore is a database with pages / content for each item.
Now we are going to invest time in further research, but some experience with Unit Testing with Sitecore will be very useful. So here is my question:
- Are there any other people who have encountered this problem in their company?
- What approach did you choose in this situation? Or: what do you propose to do in our situation? If we give up or can we make it work and how?
(I already asked a question about testing the Sitecore Unit, but it was for a good tutorial on how to do this: Testing Sitecore modules using NUnit, serializing the contents ; Shrirup's answer was useful.)
source
share