// PUBLIC METHODS ///////////////////////////////////////////////////
        #region IXUnitTest Implementation
        public void Execute(XUnitTests xUnitTests)
        {
            xUnitTests.WriteLine("Test Name: {0}", this.Name);
            xUnitTests.WriteDoubleDashedLine();
            xUnitTests.WriteLine();

            foreach (var unitTest in this.UnitTestCollection)
            {
                unitTest.Execute(xUnitTests);
                xUnitTests.WriteDashedLine();
                xUnitTests.WriteLine();
            }
        }
Example #2
0
        // PUBLIC METHODS ///////////////////////////////////////////////////
        #region IXUnitTestAsync Implementation
        public async Task ExecuteAsync(XUnitTests xUnitTests)
        {
            this.XUnitTests = xUnitTests;

            this.WriteLine("Test Name: {0}", this.Name);
            this.WriteLine();

            await this.ArrangeAsync();

            await this.ActAsync();

            await this.AssertAsync();
        }