예제 #1
0
        public void DeploymentProcessor_sequence_fail_task_step_details()
        {
            var sequence = TestTaskBuilder.SequenceTaskFailInTheMiddle(_publisher);

            var result = Execute(sequence);

            Assert.That(result.Details, Is.StringContaining(typeof(FakeOpFail).Name).And.StringContaining("failed"));
        }
예제 #2
0
        public void DeploymentProcessor_sequence_fail_task_step_details()
        {
            _task = TestTaskBuilder.SequenceTaskFailInTheMiddle(_mediator);

            Assert(e => e.Result.Details.Contains(typeof(FakeOpFail).Name) && e.Result.Details.Contains("failed"));
        }