Top-Q / difido-reports

This project aims to provide a generic implementation for HTML test reports.
http://top-q.github.io/difido-reports
Apache License 2.0
46 stars 30 forks source link

NUnit C# binder - Support Nunit 3 #124

Open Erezinho opened 7 years ago

Erezinho commented 7 years ago

AFAIK Difido does not support Nunit3 We would like to have such support in order to move forward to latest NUnit

Thanks, Erez

itaiag commented 7 years ago

I discussed this issue with Charlie Pool and seems that the new listeners mechanism in NUnit3 is very different from the one used in NUnit2. The new mechanism will make it very hard to execute the listeners when running from VS. More information can be found here.

Erezinho commented 7 years ago

Following the discussion on Stack Overflow I understand the mechanism need some adjustments regarding the .addins file.

Nevertheless, it is possible to overcome the specific issue with .addins as follows: 1) To work with VS, the .addins file should be placed under NUnit3.TestAdapter folder: e.g. C:\Users\\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\1yyrn31c.c3m (1yyrn31c.c3m can vary on other machine) 2) To work with nunit console, the .addins file should be placed under nunit-console installation folder e.g. C:\Program Files (x86)\NUnit.org\nunit-console

In both cases the .addins files should contain a relative path to the extension dll (which going to be difido-client.dll in Debug or Release folders).

->both work on my environment

To my understanding the .addins adjustment is just a matter of time while the major part is actually Difido internal implementation adjustment to NUnit3.

Is it possible to upgrade Difido in two steps?: First, Difido code adjustments to NUnit3 with the .addins' workaround above. Second, .addins adjustments once the mechanism will be modified as Charlie said.

Thanks!