I have an ASP.NET core app that runs in Docker on Linux containers and I need to write unit tests for it.
I cannot compile and run the tests on Windows because the app requires a DLL compiled from C++ that only runs in Linux.
Is there a way to run my NUnit tests in a Linux container from Visual Studio?
I have an ASP.NET core app that runs in Docker on Linux containers and I need to write unit tests for it.
I cannot compile and run the tests on Windows because the app requires a DLL compiled from C++ that only runs in Linux.
Is there a way to run my NUnit tests in a Linux container from Visual Studio?
Share Improve this question asked Mar 31 at 16:49 smyodersmyoder 31 bronze badge New contributor smyoder is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.1 Answer
Reset to default 0You can use a "remote testing environment" to run the tests in WSL or a Linux container: https://learn.microsoft/en-us/visualstudio/test/remote-testing?view=vs-2022