admin管理员组文章数量:1353643
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
版权声明:本文标题:docker - How can I test my Linux Containerized ASP.NET Core app using NUnit in Visual Studio? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743933249a2564230.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论