extent-framework / extentreports-csharp

Extent Reporting Library, .NET
http://extentreports.com
Apache License 2.0
50 stars 40 forks source link

Question, is there a way to get Extent Reports to display specflow tables like Specflow +? #117

Open Moshex opened 3 years ago

Moshex commented 3 years ago

Right now extent reports just displays the step and not the table to the step if there is one. is there a way to have extent reports to display the table to a step like in the screenshot below?

Untitled

anshooarora commented 3 years ago

You can try with: https://www.extentreports.com/docs/versions/5/net/index.html#markup-table

This version is currently in alpha and I am trying to fix a few dependencies as well which broke due to compatibility issues with Standard/Core Tfm.

Nuget: https://www.nuget.org/packages/ExtentReports/5.0.0-alpha5

This build is nearly identical to the Java implementation, with the exception of a few features which will be available in the coming few weeks/months.

MaheshGooner commented 3 years ago

@anshooarora does this version work with klov reporting? it doesn't seem to have ExtentKlovReporter implementation so wondering how can i get that to work.

Moshex commented 3 years ago

@anshooarora do you know if Extent reports version 5.x.x will support .Net Framework 4.8?

anshooarora commented 3 years ago

@MaheshGooner yes, the Klov client will be added soon. 5.x code is completely new so only prioritizing the core API since the Klov client will be a near identical port from 4.x.

@Moshex The latest alpha-5 targets .Net Standard 2.0 which supports .NET Framework 4.6.1+.

Screen Shot 2021-03-05 at 11 27 07 AM
anshooarora commented 3 years ago

@MaheshGooner KlovReporter is now available: https://www.nuget.org/packages/klov-reporter/5.0.0-alpha5

This is a standalone dependency in version 5 (similar to Java).

MaheshGooner commented 3 years ago

That's great @anshooarora. I will let you know the feedback 👍

Moshex commented 3 years ago

@anshooarora Thank you for all your help! would you happen to have a code example of how to get the spec flow table to display on the report?

anshooarora commented 3 years ago

@Moshex I am not sure how Specflow creates the table for examples, will look into this.

anshooarora commented 3 years ago

fyi - entire codebase now on develop-5.0.0 branch: https://github.com/extent-framework/extentreports-csharp/tree/develop-5.0.0

Moshex commented 3 years ago

@anshooarora The link you posted is broken, thank you for looking into this!