forked from microsoft/BotFramework-FunctionalTests
-
Notifications
You must be signed in to change notification settings - Fork 2
/
TestScript.cs
32 lines (29 loc) · 1.07 KB
/
TestScript.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Microsoft.Bot.Builder.Testing.TranscriptConverter
{
/// <summary>
/// A Test Script that can be used for functional testing of bots.
/// </summary>
public class TestScript
{
/// <summary>
/// Initializes a new instance of the <see cref="TestScript"/> class.
/// </summary>
/// <param name="items">The sequence of test scripts to perform to validate the bots behavior.</param>
public TestScript(List<TestScriptItem> items = default)
{
Items = items ?? new List<TestScriptItem>();
}
/// <summary>
/// Gets the test script items.
/// </summary>
/// <value>
/// The sequence of test scripts to perform to validate the bots behavior.
/// </value>
[JsonProperty("items")]
public List<TestScriptItem> Items { get; } = new List<TestScriptItem>();
}
}