Simplify locating of addins
See original GitHub issueCurrently there is only one way how user is able to say where nunit-console
should find extensions. This is via *.addins
file. What if user will be able to install extension via nuget into tests project and that’s all what is required from user.
I propose to extend nunit-console and try to search extensions in the directory where user’s tests dll is located. It would be default behavior.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:29 (26 by maintainers)
Top Results From Across the Web
Get an Office Add-in for Outlook
Open Outlook. Depending on your Outlook version, select Home > Get Add-ins or from the ribbon Home > All Apps > Add apps....
Read more >Manage add-ins—ArcGIS Pro | Documentation
Browse to the folder location of an add-in file (*.esriAddInX) on your computer or a network drive. Double-click the file to open the...
Read more >Sideload Outlook add-ins for testing - Office Add-ins
In the Add-Ins for Outlook dialog box, select My add-ins. Locate the Custom add-ins section at the bottom of the dialog box.
Read more >Solved: Custom Addin location - Inventor
Solved: Is there a way to change Addin location? Currently it is C:\ProgramData\Autodesk\Inventor Addins\. Up to this point we have synced ...
Read more >Excel Add-in Ribbon Disappears After Installation
Open the Trusted Locations menu. · Press the Add new location… · Click the Browse… · Navigate to the folder that contains your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The search for extensions starts in a root directory, which is the directory containing the engine itself. The idea was that this might be expanded to search in other directories as well, using exactly the same search pattern. One possibility is a common directory used by all engine extensions. Another is some directory specific to the test project being loaded.
However, if you are loading multiple assemblies, there is still only one engine with extensions (i.e. the primary engine) It would take a fair bit of effort, I think, to load an extension only for one assembly, possibly a full restructuring of how we load assemblies. For that reason I agree with an approach where the user simply tells the user where to look for extensions. The command-line makes sense for this purpose. All the console would need to do would be to add the new setting to the
TestPackage
and the engine should do the rest.Imaging nunit-console came from unknown location, for instance it’s pre-installed on build machine (appveyour, etc).
And I do
Actually I don’t know where
exe
is located, hence I cannot use*.addins
file.Generally if you explore some example of the extension https://github.com/reportportal/agent-net-nunit/blob/master/README.md, you might see that the hardest part of the installation is to say
nunit-console
how to find the extension.This issue is about the following case: