/// <summary>
        /// 程序集测试开始
        /// </summary>
        public void OnAllTestStarting(AllTestStartingInfo info)
        {
            var assemblyName     = info.Runner.Assembly.GetName().Name;
            var webTesterManager = Application.Ioc.Resolve <WebTesterManager>();

            webTesterManager.UpdateInformation(assemblyName, testInfo => {
                testInfo.State = Model.AssemblyTestState.Running;
                testInfo.Updated();
            });
        }
Exemplo n.º 2
0
#pragma warning disable CS1591
        public void OnAllTestStarting(AllTestStartingInfo info)
        {
            Console.WriteLine($"starting {info.Runner.Assembly.GetName().Name} tests...");
        }