Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDE removes DUnitX.Loggers.Xml.NUnit from dpr #344

Open
UweRaabe opened this issue Apr 3, 2024 · 0 comments
Open

IDE removes DUnitX.Loggers.Xml.NUnit from dpr #344

UweRaabe opened this issue Apr 3, 2024 · 0 comments

Comments

@UweRaabe
Copy link
Contributor

UweRaabe commented Apr 3, 2024

Working with the default project template, the IDE removes the DUnitX.Loggers.Xml.NUnit entry from the uses clause when adding/removing a unit to/from the project.

This is related to the {$ELSE} part of the TESTINSIGHT conditional. Removing that solves the problem:

uses
  System.SysUtils,
  {$IFDEF TESTINSIGHT}
  TestInsight.DUnitX,
  {$ENDIF }
  DUnitX.Loggers.Console,
  DUnitX.Loggers.XML.NUnit,
  DUnitX.TestFramework,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant