From 5496d0f705f2a153fe530352178b12f7ac24bde5 Mon Sep 17 00:00:00 2001 From: Waldemar Siebert Date: Sat, 20 Apr 2019 23:17:22 +0200 Subject: [PATCH 01/10] Migrated existing Extent Reports Solution to .Net Standard to support both all .net frameworks inkl. DotNet Core --- ExtentReports.Tests/App.config | 6 - .../ExtentReports.Tests.csproj | 102 +----- .../Properties/AssemblyInfo.cs | 36 -- ExtentReports.Tests/packages.config | 5 - ExtentReports.sln | 20 +- ExtentReports/Class1.cs | 8 + ExtentReports/ExtentReports.csproj | 329 +++++------------- .../Gherkin/GherkinDialectProvider.cs | 5 +- ExtentReports/Properties/AssemblyInfo.cs | 36 -- ExtentReports/Reporter/ExtentHtmlReporter.cs | 30 +- .../Reporter/ExtentLoggerReporter.cs | 26 +- .../Reporter/ExtentV3HtmlReporter.cs | 20 +- .../TemplateEngine/TemplateLoadService.cs | 2 +- .../Resources/GherkinLangs.Designer.cs | 32 +- 14 files changed, 181 insertions(+), 476 deletions(-) delete mode 100644 ExtentReports.Tests/App.config delete mode 100644 ExtentReports.Tests/Properties/AssemblyInfo.cs delete mode 100644 ExtentReports.Tests/packages.config create mode 100644 ExtentReports/Class1.cs delete mode 100644 ExtentReports/Properties/AssemblyInfo.cs diff --git a/ExtentReports.Tests/App.config b/ExtentReports.Tests/App.config deleted file mode 100644 index 334fd53..0000000 --- a/ExtentReports.Tests/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/ExtentReports.Tests/ExtentReports.Tests.csproj b/ExtentReports.Tests/ExtentReports.Tests.csproj index 3cef381..a11d72e 100644 --- a/ExtentReports.Tests/ExtentReports.Tests.csproj +++ b/ExtentReports.Tests/ExtentReports.Tests.csproj @@ -1,97 +1,19 @@ - - - - - + + - Debug - AnyCPU - {C695EFE8-5DC4-4512-8541-198DDA3827A7} - Exe - AventStack.ExtentReports.Tests - ExtentReports.Tests - v4.6.1 - 512 - true - - + netcoreapp2.1 + + false - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + + + - - {783324ec-3d15-46a1-b34e-a1f15b97dd59} - ExtentReports - + - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - + \ No newline at end of file diff --git a/ExtentReports.Tests/Properties/AssemblyInfo.cs b/ExtentReports.Tests/Properties/AssemblyInfo.cs deleted file mode 100644 index 9cff8f7..0000000 --- a/ExtentReports.Tests/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("ExtentReports.Tests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ExtentReports.Tests")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("c695efe8-5dc4-4512-8541-198dda3827a7")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ExtentReports.Tests/packages.config b/ExtentReports.Tests/packages.config deleted file mode 100644 index 309db5e..0000000 --- a/ExtentReports.Tests/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/ExtentReports.sln b/ExtentReports.sln index 431cc28..e9da006 100644 --- a/ExtentReports.sln +++ b/ExtentReports.sln @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.28307.106 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExtentReports", "ExtentReports\ExtentReports.csproj", "{783324EC-3D15-46A1-B34E-A1F15B97DD59}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExtentReports", "ExtentReports\ExtentReports.csproj", "{15BC7CCB-30B0-4D12-A525-3F51E611FEB2}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExtentReports.Tests", "ExtentReports.Tests\ExtentReports.Tests.csproj", "{C695EFE8-5DC4-4512-8541-198DDA3827A7}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExtentReports.Tests", "ExtentReports.Tests\ExtentReports.Tests.csproj", "{C4218638-47FB-4478-9B28-E5C738EA7B49}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -13,14 +13,14 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {783324EC-3D15-46A1-B34E-A1F15B97DD59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {783324EC-3D15-46A1-B34E-A1F15B97DD59}.Debug|Any CPU.Build.0 = Debug|Any CPU - {783324EC-3D15-46A1-B34E-A1F15B97DD59}.Release|Any CPU.ActiveCfg = Release|Any CPU - {783324EC-3D15-46A1-B34E-A1F15B97DD59}.Release|Any CPU.Build.0 = Release|Any CPU - {C695EFE8-5DC4-4512-8541-198DDA3827A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C695EFE8-5DC4-4512-8541-198DDA3827A7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C695EFE8-5DC4-4512-8541-198DDA3827A7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C695EFE8-5DC4-4512-8541-198DDA3827A7}.Release|Any CPU.Build.0 = Release|Any CPU + {15BC7CCB-30B0-4D12-A525-3F51E611FEB2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {15BC7CCB-30B0-4D12-A525-3F51E611FEB2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {15BC7CCB-30B0-4D12-A525-3F51E611FEB2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {15BC7CCB-30B0-4D12-A525-3F51E611FEB2}.Release|Any CPU.Build.0 = Release|Any CPU + {C4218638-47FB-4478-9B28-E5C738EA7B49}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C4218638-47FB-4478-9B28-E5C738EA7B49}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C4218638-47FB-4478-9B28-E5C738EA7B49}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C4218638-47FB-4478-9B28-E5C738EA7B49}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/ExtentReports/Class1.cs b/ExtentReports/Class1.cs new file mode 100644 index 0000000..30f598d --- /dev/null +++ b/ExtentReports/Class1.cs @@ -0,0 +1,8 @@ +using System; + +namespace ExtentReportsCore +{ + public class Class1 + { + } +} diff --git a/ExtentReports/ExtentReports.csproj b/ExtentReports/ExtentReports.csproj index ad9154d..f618abd 100644 --- a/ExtentReports/ExtentReports.csproj +++ b/ExtentReports/ExtentReports.csproj @@ -1,256 +1,113 @@ - - - + + - Debug - AnyCPU - {783324EC-3D15-46A1-B34E-A1F15B97DD59} - Library - AventStack.ExtentReports - ExtentReports - v4.5 - 512 - true - - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - + netstandard2.0 + - - ..\packages\DnsClient.1.0.7\lib\net45\DnsClient.dll - - - ..\packages\MongoDB.Bson.2.7.2\lib\net45\MongoDB.Bson.dll - - - ..\packages\MongoDB.Driver.2.7.2\lib\net45\MongoDB.Driver.dll - - - ..\packages\MongoDB.Driver.Core.2.7.2\lib\net45\MongoDB.Driver.Core.dll - - - ..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll - - - ..\packages\RazorEngine.3.10.0\lib\net45\RazorEngine.dll - - - - ..\packages\System.Buffers.4.3.0\lib\netstandard1.1\System.Buffers.dll - - - - ..\packages\System.Runtime.InteropServices.RuntimeInformation.4.0.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll - - - ..\packages\Microsoft.AspNet.Razor.3.0.0\lib\net45\System.Web.Razor.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - True - ExtentHtmlReporterSettings.settings - - - - - - - - - - - - - - - - - - - - - True - True - GherkinLangs.resx - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - SettingsSingleFileGenerator - ExtentHtmlReporterSettings.Designer.cs - - - ResXFileCodeGenerator - GherkinLangs.Designer.cs - + + - - - - - - PreserveNewest - - - - PreserveNewest - - - PreserveNewest - Designer - - - PreserveNewest - Designer - - - - PreserveNewest - - - - + + + + - - Designer - + + + - - - Designer - - - Designer - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + True + True + GherkinLangs.resx + + + + + + ResXFileCodeGenerator + GherkinLangs.Designer.cs + - - \ No newline at end of file + + diff --git a/ExtentReports/Gherkin/GherkinDialectProvider.cs b/ExtentReports/Gherkin/GherkinDialectProvider.cs index cfc7057..e000594 100644 --- a/ExtentReports/Gherkin/GherkinDialectProvider.cs +++ b/ExtentReports/Gherkin/GherkinDialectProvider.cs @@ -1,4 +1,5 @@ -using Newtonsoft.Json; +using ExtentReports.Resources; +using Newtonsoft.Json; using System.Collections.Generic; @@ -12,7 +13,7 @@ internal static class GherkinDialectProvider static GherkinDialectProvider() { - var json = Resources.GherkinLangs.Languages; + var json = GherkinLangs.Languages; _dialects = JsonConvert.DeserializeObject>(json); } diff --git a/ExtentReports/Properties/AssemblyInfo.cs b/ExtentReports/Properties/AssemblyInfo.cs deleted file mode 100644 index f5f41f7..0000000 --- a/ExtentReports/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Extent Framework")] -[assembly: AssemblyDescription("Extent Reporting Framework, Community Edition Version 4")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("AventStack")] -[assembly: AssemblyProduct("ExtentReports")] -[assembly: AssemblyCopyright("Copyright © AventStack 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(true)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("783324ec-3d15-46a1-b34e-a1f15b97dd59")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("4.0.3.0")] -[assembly: AssemblyFileVersion("4.0.3.0")] diff --git a/ExtentReports/Reporter/ExtentHtmlReporter.cs b/ExtentReports/Reporter/ExtentHtmlReporter.cs index b3ab321..4e70799 100644 --- a/ExtentReports/Reporter/ExtentHtmlReporter.cs +++ b/ExtentReports/Reporter/ExtentHtmlReporter.cs @@ -55,21 +55,21 @@ private void AddTemplates() { string[] templates = new string[] { - "Dashboard", - "Exception", - "Index", - "Tag", - "Partials.Attributes", - "Partials.AttributesView", - "Partials.Head", - "Partials.Log", - "Partials.Navbar", - "Partials.RecurseNodes", - "Partials.Scripts", - "Partials.Sidenav", - "Partials.SparkBDD", - "Partials.SparkStandard", - "Partials.SparkStepDetails", + "Views.Html.Dashboard", + "Views.Html.Exception", + "Views.Html.Index", + "Views.Html.Tag", + "Views.Html.Partials.Attributes", + "Views.Html.Partials.AttributesView", + "Views.Html.Partials.Head", + "Views.Html.Partials.Log", + "Views.Html.Partials.Navbar", + "Views.Html.Partials.RecurseNodes", + "Views.Html.Partials.Scripts", + "Views.Html.Partials.Sidenav", + "Views.Html.Partials.SparkBDD", + "Views.Html.Partials.SparkStandard", + "Views.Html.Partials.SparkStepDetails", }; TemplateLoadService.LoadTemplate(templates); diff --git a/ExtentReports/Reporter/ExtentLoggerReporter.cs b/ExtentReports/Reporter/ExtentLoggerReporter.cs index 75176ee..b9f0da5 100644 --- a/ExtentReports/Reporter/ExtentLoggerReporter.cs +++ b/ExtentReports/Reporter/ExtentLoggerReporter.cs @@ -56,24 +56,24 @@ private static void AddTemplates() { string[] templates = new string[] { - "LoggerTest", - "LoggerMacro" + "Views.Logger.LoggerTest", + "Views.Logger.LoggerMacro" }; TemplateLoadService.LoadTemplate(templates); templates = new string[] { - "CommonsAttributes", - "CommonsDashboard", - "CommonsException", - "CommonsHead", - "CommonsInjectCss", - "CommonsInjectJs", - "CommonsMedia", - "CommonsNav", - "CommonsNavRight", - "CommonsRow", - "CommonsTag" + "Views.Commons.CommonsAttributes", + "Views.Commons.CommonsDashboard", + "Views.Commons.CommonsException", + "Views.Commons.CommonsHead", + "Views.Commons.CommonsInjectCss", + "Views.Commons.CommonsInjectJs", + "Views.Commons.CommonsMedia", + "Views.Commons.CommonsNav", + "Views.Commons.CommonsNavRight", + "Views.Commons.CommonsRow", + "Views.Commons.CommonsTag" }; TemplateLoadService.LoadTemplate(templates); } diff --git a/ExtentReports/Reporter/ExtentV3HtmlReporter.cs b/ExtentReports/Reporter/ExtentV3HtmlReporter.cs index d17291c..a64c08a 100644 --- a/ExtentReports/Reporter/ExtentV3HtmlReporter.cs +++ b/ExtentReports/Reporter/ExtentV3HtmlReporter.cs @@ -46,16 +46,16 @@ private void AddTemplates() { string[] templates = new string[] { - "V3Index", - "V3Head", - "V3Nav", - "Test.V3Test", - "Test.V3Charts", - "Author.V3Author", - "Category.V3Category", - "Dashboard.V3Dashboard", - "Exception.V3Exception", - "TestRunner.V3Logs" + "Views.V3Html.V3Index", + "Views.V3Html.V3Head", + "Views.V3Html.V3Nav", + "Views.V3Html.Test.V3Test", + "Views.V3Html.Test.V3Charts", + "Views.V3Html.Author.V3Author", + "Views.V3Html.Category.V3Category", + "Views.V3Html.Dashboard.V3Dashboard", + "Views.V3Html.Exception.V3Exception", + "Views.V3Html.TestRunner.V3Logs" }; TemplateLoadService.LoadTemplate(templates); diff --git a/ExtentReports/Reporter/TemplateEngine/TemplateLoadService.cs b/ExtentReports/Reporter/TemplateEngine/TemplateLoadService.cs index 5379818..e4ea506 100644 --- a/ExtentReports/Reporter/TemplateEngine/TemplateLoadService.cs +++ b/ExtentReports/Reporter/TemplateEngine/TemplateLoadService.cs @@ -17,7 +17,7 @@ public static void LoadTemplate(string[] templates) where T : IViewsMarker { foreach (string template in templates) { - string resourceName = typeof(T).Namespace + "." + template + ".cshtml"; + string resourceName = typeof(T).Assembly.ManifestModule.Name.Replace(".dll", "") + "." + template + ".cshtml"; using (var resourceStream = typeof(T).Assembly.GetManifestResourceStream(resourceName)) { using (var reader = new StreamReader(resourceStream)) diff --git a/ExtentReports/Resources/GherkinLangs.Designer.cs b/ExtentReports/Resources/GherkinLangs.Designer.cs index bb74aac..0788e31 100644 --- a/ExtentReports/Resources/GherkinLangs.Designer.cs +++ b/ExtentReports/Resources/GherkinLangs.Designer.cs @@ -1,24 +1,24 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. // //------------------------------------------------------------------------------ -namespace AventStack.ExtentReports.Resources { +namespace ExtentReports.Resources { using System; /// - /// A strongly-typed resource class, for looking up localized strings, etc. + /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. + // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert + // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. + // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen + // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] @@ -33,13 +33,13 @@ internal GherkinLangs() { } /// - /// Returns the cached ResourceManager instance used by this class. + /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AventStack.ExtentReports.Resources.GherkinLangs", typeof(GherkinLangs).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ExtentReports.Resources.GherkinLangs", typeof(GherkinLangs).Assembly); resourceMan = temp; } return resourceMan; @@ -47,8 +47,8 @@ internal GherkinLangs() { } /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. + /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ internal GherkinLangs() { } /// - /// Looks up a localized string similar to { + /// Sucht eine lokalisierte Zeichenfolge, die { /// "af": { /// "and": [ /// "* ", @@ -93,7 +93,7 @@ internal GherkinLangs() { /// ], /// "scenarioOutline": [ /// "Situasie Uiteensetting" - /// [rest of string was truncated]";. + /// [Rest der Zeichenfolge wurde abgeschnitten]"; ähnelt. /// internal static string Languages { get { From ff83d61f483d00bf00060c0d5c425481cf1a6e9d Mon Sep 17 00:00:00 2001 From: Waldemar Siebert Date: Sat, 20 Apr 2019 23:20:08 +0200 Subject: [PATCH 02/10] removed unused class --- ExtentReports/Class1.cs | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 ExtentReports/Class1.cs diff --git a/ExtentReports/Class1.cs b/ExtentReports/Class1.cs deleted file mode 100644 index 30f598d..0000000 --- a/ExtentReports/Class1.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; - -namespace ExtentReportsCore -{ - public class Class1 - { - } -} From d726f50d406229c0eadc584bfaf8e364f21561da Mon Sep 17 00:00:00 2001 From: Alexander Heimlich <34610354+axheim@users.noreply.github.com> Date: Sat, 20 Apr 2019 23:53:09 +0200 Subject: [PATCH 03/10] Update Readme.md --- Readme.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 8c396da..7aa3535 100644 --- a/Readme.md +++ b/Readme.md @@ -5,10 +5,16 @@ [![Codacy Badge](https://api.codacy.com/project/badge/Grade/8d4e66d07b9e4ebca7cef7c5b5eb7ba2)](https://www.codacy.com/app/anshooarora/extentreports-csharp?utm_source=github.com&utm_medium=referral&utm_content=extent-framework/extentreports-csharp&utm_campaign=Badge_Grade) ![](https://img.shields.io/github/license/extent-framework/extentreports-csharp.svg?style=plastic) -.NET Framework 4.5+ only +.NET Framework 4.5+ +.NET Core 2.1+ +.NET Standard 1.5+ ### Documentation +This is a modified version of the popular test reporting framework ExtenReports, which supports now all current versions of .NET Frameworks including .NET Core and .NET Standard frameworks. No you can use it in all types of your .NET projects. + +Try it out and enjoy, your SimplyTest team. + View [extentreports.com](http://extentreports.com/docs/versions/4/net/) for complete documentation. ### License From ae40c253029327c11cf8736dc3a5f42f30c65d81 Mon Sep 17 00:00:00 2001 From: Waldemar Siebert Date: Sun, 21 Apr 2019 00:18:27 +0200 Subject: [PATCH 04/10] Update Readme.md --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 7aa3535..d3bbdc8 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,6 @@ ## Extent Framework 4 - Community Edition -[![NuGet](https://img.shields.io/nuget/v/extentreports.svg)](https://www.nuget.org/packages/ExtentReports) +[![NuGet](https://img.shields.io/nuget/v/extentreports.svg)](https://www.nuget.org/packages/ExtentReports.Core) [![Join the chat at https://gitter.im/anshooarora/extentreports-csharp](https://badges.gitter.im/anshooarora/extentreports-csharp.svg)](https://gitter.im/anshooarora/extentreports-csharp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/8d4e66d07b9e4ebca7cef7c5b5eb7ba2)](https://www.codacy.com/app/anshooarora/extentreports-csharp?utm_source=github.com&utm_medium=referral&utm_content=extent-framework/extentreports-csharp&utm_campaign=Badge_Grade) ![](https://img.shields.io/github/license/extent-framework/extentreports-csharp.svg?style=plastic) From 1f56104aa8e731986647fd4d8a64e2f33167b315 Mon Sep 17 00:00:00 2001 From: Waldemar Siebert Date: Sun, 21 Apr 2019 00:21:11 +0200 Subject: [PATCH 05/10] Update Readme.md --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index d3bbdc8..6f66caf 100644 --- a/Readme.md +++ b/Readme.md @@ -1,4 +1,4 @@ -## Extent Framework 4 - Community Edition +## Extent Framework 4 - .Net Core / .Net Standard - Community Edition [![NuGet](https://img.shields.io/nuget/v/extentreports.svg)](https://www.nuget.org/packages/ExtentReports.Core) [![Join the chat at https://gitter.im/anshooarora/extentreports-csharp](https://badges.gitter.im/anshooarora/extentreports-csharp.svg)](https://gitter.im/anshooarora/extentreports-csharp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) From d608a93f7917410f898b256e107f0200b8e7762d Mon Sep 17 00:00:00 2001 From: Alexander Heimlich <34610354+axheim@users.noreply.github.com> Date: Sun, 21 Apr 2019 12:59:26 +0200 Subject: [PATCH 06/10] Update Readme.md --- Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 6f66caf..7cf9811 100644 --- a/Readme.md +++ b/Readme.md @@ -1,4 +1,4 @@ -## Extent Framework 4 - .Net Core / .Net Standard - Community Edition +## Extent Framework 4 - Community Edition - .Net Core / .Net Standard [![NuGet](https://img.shields.io/nuget/v/extentreports.svg)](https://www.nuget.org/packages/ExtentReports.Core) [![Join the chat at https://gitter.im/anshooarora/extentreports-csharp](https://badges.gitter.im/anshooarora/extentreports-csharp.svg)](https://gitter.im/anshooarora/extentreports-csharp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) @@ -11,7 +11,7 @@ ### Documentation -This is a modified version of the popular test reporting framework ExtenReports, which supports now all current versions of .NET Frameworks including .NET Core and .NET Standard frameworks. No you can use it in all types of your .NET projects. +This is a modified version of the popular test reporting framework ExtenReports, which supports now all current versions of .NET Frameworks including .NET Core and .NET Standard framework. Now you can use it in all types of your .NET projects. Try it out and enjoy, your SimplyTest team. From 872b87e4bd832788362d5669a446c34a514da602 Mon Sep 17 00:00:00 2001 From: Alexander Heimlich <34610354+axheim@users.noreply.github.com> Date: Sun, 21 Apr 2019 18:17:16 +0200 Subject: [PATCH 07/10] Update Readme.md --- Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 7cf9811..d3b8013 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,6 @@ ## Extent Framework 4 - Community Edition - .Net Core / .Net Standard -[![NuGet](https://img.shields.io/nuget/v/extentreports.svg)](https://www.nuget.org/packages/ExtentReports.Core) +[![NuGet](https://img.shields.io/badge/extentreports--core-1.02-blue.svg)](https://www.nuget.org/packages/ExtentReports.Core) [![Join the chat at https://gitter.im/anshooarora/extentreports-csharp](https://badges.gitter.im/anshooarora/extentreports-csharp.svg)](https://gitter.im/anshooarora/extentreports-csharp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/8d4e66d07b9e4ebca7cef7c5b5eb7ba2)](https://www.codacy.com/app/anshooarora/extentreports-csharp?utm_source=github.com&utm_medium=referral&utm_content=extent-framework/extentreports-csharp&utm_campaign=Badge_Grade) ![](https://img.shields.io/github/license/extent-framework/extentreports-csharp.svg?style=plastic) @@ -11,7 +11,7 @@ ### Documentation -This is a modified version of the popular test reporting framework ExtenReports, which supports now all current versions of .NET Frameworks including .NET Core and .NET Standard framework. Now you can use it in all types of your .NET projects. +This is a modified version of the popular test reporting framework ExtentReports, which supports now all current versions of .NET Frameworks including .NET Core and .NET Standard framework. Now you can use it in all types of your .NET projects. Try it out and enjoy, your SimplyTest team. From 08b14359ef49f46e921ed96696d8253bfcb8e95a Mon Sep 17 00:00:00 2001 From: Alexander Heimlich <34610354+axheim@users.noreply.github.com> Date: Sun, 21 Apr 2019 21:14:27 +0200 Subject: [PATCH 08/10] package info updated --- ExtentReports/ExtentReports.csproj | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ExtentReports/ExtentReports.csproj b/ExtentReports/ExtentReports.csproj index f618abd..9227455 100644 --- a/ExtentReports/ExtentReports.csproj +++ b/ExtentReports/ExtentReports.csproj @@ -2,6 +2,18 @@ netstandard2.0 + ExtentReports.Core + SimplyTest + SimplyTest + ExtentReports + Forked from extent-framework/extentreports-csharp. Modified version of Extent Reporting Framework, Community Edition, supporting .NET Core and .NET Standard + AventStack + https://licenses.nuget.org/Apache-2.0 + http://extentreports.com + https://github.com/simplytest/extentreports-csharp + reporting test selenium + 1.0.2.0 + 1.0.2 From 90de481e1efe248fd67cd064fead802950edb508 Mon Sep 17 00:00:00 2001 From: Alexander Heimlich <34610354+axheim@users.noreply.github.com> Date: Mon, 29 Apr 2019 20:55:27 +0200 Subject: [PATCH 09/10] Update Readme.md --- Readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Readme.md b/Readme.md index d3b8013..da12ed3 100644 --- a/Readme.md +++ b/Readme.md @@ -13,6 +13,16 @@ This is a modified version of the popular test reporting framework ExtentReports, which supports now all current versions of .NET Frameworks including .NET Core and .NET Standard framework. Now you can use it in all types of your .NET projects. +#### Usage: + +``` c# +public AventStack.ExtentReports.ExtentReports Reporter = new AventStack.ExtentReports.ExtentReports(); +``` + +*Hint:* Due to the overlapping naming of the namespace and the class ExtentReports, .NET Core compiler shows an error +'ExtentReports' is a namespace but is used like a type'. You can get rid of this issue using full qualified names like above or using a class alias. + + Try it out and enjoy, your SimplyTest team. View [extentreports.com](http://extentreports.com/docs/versions/4/net/) for complete documentation. From c884ed135bd56d7f209e515dc6b4d954dfea7fc1 Mon Sep 17 00:00:00 2001 From: Alexander Heimlich <34610354+axheim@users.noreply.github.com> Date: Sat, 18 Jan 2020 19:37:17 +0100 Subject: [PATCH 10/10] updated RazorEngine package fixing ExtentReports issues on non-Windows OS --- ExtentReports/ExtentReports.csproj | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ExtentReports/ExtentReports.csproj b/ExtentReports/ExtentReports.csproj index 9227455..b740157 100644 --- a/ExtentReports/ExtentReports.csproj +++ b/ExtentReports/ExtentReports.csproj @@ -12,8 +12,9 @@ http://extentreports.com https://github.com/simplytest/extentreports-csharp reporting test selenium - 1.0.2.0 - 1.0.2 + 1.0.3.0 + 1.0.3 + V1.0.3: Updated RazorEngine package fixing ExtentReports issues on linux @@ -103,7 +104,7 @@ - +