Example #1
0
        static void Unload(object sender, EventArgs e)
        {
            var testRunResults = CurrentTestRun.GetStories().ToList();
            var config         = Activator.CreateInstance(ReportConfiguration);

            foreach (var processor in Processors)
            {
                ((ITestResultProcessor)Activator.CreateInstance(processor, new[] { config })).Process(testRunResults);
            }
        }
Example #2
0
 internal static void StartNewTest()
 {
     _lastTest = new XmlTest();
     CurrentTestRun.AddTest(_lastTest);
 }