using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MgTestAdmin.Model
{
    public class TestCaseInfo
    {
        /// <summary>
        /// The name of the test
        /// </summary>
        public string TestName { get; set; }

        /// <summary>
        /// The order when this test case will be executed
        /// </summary>
        public int ExecuteSequence { get; set; }

        public override string ToString() => $"{ExecuteSequence}: {TestName}";
    }

    public class TestCase
    {
        /// <summary>
        /// The name of the test
        /// </summary>
        public string TestName { get; set; }

        /// <summary>
        /// The order when this test case will be executed
        /// </summary>
        public int ExecuteSequence { get; set; }

        /// <summary>
        /// The description of the test case
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// Pre-requisites
        /// </summary>
        public string Prerequsite { get; set; }

        /// <summary>
        /// The type of test. "Http" or "Api"
        /// </summary>
        public string TestType { get; set; }

        /// <summary>
        /// The parameter sets to execute as part of this test case
        /// </summary>
        public int[] ParamSets { get; set; }
    }
}