Click or drag to resize

TestUnitOnDirectorySetting Method

Event for setting and initialize of object Directory

Namespace:  SIC.Test.Helper
Assembly:  SIC.Test.Helper (in SIC.Test.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
protected virtual void OnDirectorySetting()
Remarks
This method can overrides. The base puts standard setting (base.OnDirectorySetting();). Standard setting puts no redirection.
Examples
This example puts test directories in a test unit.
/// <summary>
/// Test directories setting
/// </summary>
protected override void OnDirectorySetting()
{
    this.DirectorySetting(
        pDataRedirecting: @"C:\Work\Data\",
        pDataRedirect: false,                   //* regular to project directory + Data *
        pResultRedirecting: @"C:\Work\",        //* if empty then to project directory + Result *
        pResultRedirect: false);
}
See Also