New answers tagged templates
1
vote
Unit testing logic with Template.InheritsFrom
I think the most important question here is "Why do you even want to write a test checking if item inherits from baseTemplateId" Do you want to write unit tests for your code or for Sitecore ...
Top 50 recent answers are included
Related Tags
templates × 133content-editor × 15
presentation × 14
sxa × 12
inheritance × 8
fieldtype × 7
best-practices × 6
experience-editor × 5
datasource × 5
branch × 5
powershell-extensions × 4
mvc × 4
multilingual × 4
sitecore-query × 4
components × 4
jss × 3
sitecore-api × 3
media-library × 3
helix × 3
powershell × 3
content-management × 3
field × 3
sitecore-commerce × 2
glass-mapper × 2
tds × 2