示例#1
0
        public void ReportOnTechDebtButNeverFailATest()
        {
            var assemblyContainingTechDebt = Assembly.GetAssembly(typeof(SomeThing));

            var report = TechDebtReporter.GenerateReport(assemblyContainingTechDebt);

            Console.WriteLine(report);
        }
        public void ShouldRenderReportWithMultipleAssemblies()
        {
            var assemblyToReportOn = new[]
            {
                Assembly.GetAssembly(typeof(SomeThing)),
                Assembly.GetAssembly(typeof(Mango))
            };

            Approvals.Verify(TechDebtReporter.GenerateReport(assemblyToReportOn));
        }
示例#3
0
        public void ShouldRenderReportWithMultipleAssemblies()
        {
            var assemblyToReportOn = new[]
            {
                Assembly.GetAssembly(typeof(Book))
            };

            string report = TechDebtReporter.GenerateReport(assemblyToReportOn);

            Console.Write(report);
        }
        public void ShouldRenderReport()
        {
            var assemblyToReportOn = Assembly.GetAssembly(typeof(SomeThing));

            Approvals.Verify(TechDebtReporter.GenerateReport(assemblyToReportOn));
        }