Open sandboxFocus

Property WriteCompiledTemplate

WriteCompiledTemplate

Gets or sets a value indicating whether the compiled template code should be written to a .ct.cs file and included in snapshot testing. The compiled template is formatted before writing. To enable this option in a test, add this comment to your test file: // @WriteCompiledTemplate.

Declaration
public bool? WriteCompiledTemplate { get; set; }
Property Value
Type Description
bool?