tag:help.appveyor.com,2012-11-13:/discussions/problems/24482-unable-to-exclude-tests-from-run-using-dotnet-coreAppVeyor: Discussion 2019-09-18T21:01:22Ztag:help.appveyor.com,2012-11-13:Comment/474468632019-07-18T00:41:16Z2019-07-18T00:41:16ZUnable to exclude tests from run using dotnet core<div><p>Hi there,</p>
<p>I am trying to exclude a test project from a run</p>
<p>See the appveyor config<br>
<a href="https://github.com/Open-Systems-Pharmacology/OSPSuite.Core/blob/578-migrate-to-net-standard/appveyor.yml#L51">https://github.com/Open-Systems-Pharmacology/OSPSuite.Core/blob/578...</a></p>
<p>I basically want to prevent the OSPSuite.Coverage.dll test to run in this scenario</p>
<p>However here is the output.,<br>
<a href="https://ci.appveyor.com/project/open-systems-pharmacology-ci/ospsuite-core#L1663">https://ci.appveyor.com/project/open-systems-pharmacology-ci/ospsui...</a></p>
<p>One can clearly see that the assembly is not excluded from the test run.</p>
<p>Do you know what I am doing wrong here?</p>
<p>Thanks,<br>
Michael</p></div>michaeltag:help.appveyor.com,2012-11-13:Comment/474468632019-07-18T00:45:54Z2019-07-18T00:45:54ZUnable to exclude tests from run using dotnet core<div><p>I stumbled upon the discussion here<br>
<a href="https://stackoverflow.com/questions/48233210/appveyor-ignores-explicit-assemly-name-for-unit-tests#comment83453616_48234021">https://stackoverflow.com/questions/48233210/appveyor-ignores-expli...</a></p>
<p>Ilya implies that this should work with the blacklist.</p></div>michaeltag:help.appveyor.com,2012-11-13:Comment/474468632019-07-19T01:56:36Z2019-07-19T01:56:36ZUnable to exclude tests from run using dotnet core<div><p>Sorry for the late reply. Its a shame but <a href="https://github.com/appveyor/ci/issues/2022">this</a> is still not done. The only excuse is that we were super busy with <a href="https://www.appveyor.com/blog/2019/05/01/appveyor-server-available-for-download/">AppVeyor Server</a>. I afraid is that the only workaround now is to switch to the test script mode, copy-paste test commands which AppVeyor generates, but only when you need, and enter them under the <code>test_script</code>. Please let us know if this works for you.</p></div>Ilya Finkelshteyn