public void Process(StartTestArgs args)
        {
            if (args == null) return;
            var publications = _service.GetApplicablePublications(new Guid(Constants.PipelineEventIds.TestStarted));
            if (!publications.Any())
                return;

            foreach (var publication in publications)
            {
                foreach (var channel in publication.GetChannels())
                {
                    _message.Text = $"Test started for {args.HostItem.Paths.Path}.";
                    _message.UpdateChannelInfo(channel, publication);
                    _service.PublishMessage(_message, true);
                }
            }
        }
Example #2
0
        public void Process(StartTestArgs args)
        {
            if (args == null)
            {
                return;
            }
            var publications = _service.GetApplicablePublications(new Guid(Constants.PipelineEventIds.TestStarted));

            if (!publications.Any())
            {
                return;
            }

            foreach (var publication in publications)
            {
                foreach (var channel in publication.GetChannels())
                {
                    _message.Text = $"Test started for {args.HostItem.Paths.Path}.";
                    _message.UpdateChannelInfo(channel, publication);
                    _service.PublishMessage(_message, true);
                }
            }
        }