tag:help.appveyor.com,2012-11-13:/discussions/problems/729-how-to-specify-wildcards-to-match-test-assemblies-in-appveyorymlAppVeyor: Discussion 2018-10-19T08:16:43Ztag:help.appveyor.com,2012-11-13:Comment/343818912014-08-29T20:19:38Z2014-08-29T20:19:38ZHow to specify wildcards to match test assemblies in appveyor.yml<div><p>Surrounding the value with single quotes should do the
trick:</p>
<pre>
<code>test:
assemblies:
- '*\*.UnitTests.dll'</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/343818912014-09-01T18:59:46Z2014-09-01T19:00:13ZHow to specify wildcards to match test assemblies in appveyor.yml<div><p>That's work in so far as the <code>Error parsing
appveyor.yml</code> issue, but now no test assemblies are
found.</p>
<p>Previously I has this configuration:</p>
<pre>
<code>test:
assemblies:
- Test.Assembly1.UnitTests.dll
- Test.Assembly.SomeNamespace2.UnitTests.dll
- Test.Assembly.SomeNamespace3.UnitTests.dll
- Test.Assembly.SomeNamespace4.UnitTests.dll</code>
</pre>
<p>And all the tests from those 4 assemblies were executed, but now
with this configuration:</p>
<pre>
<code>test:
assemblies:
- '*\*.UnitTests.dll'</code>
</pre>
<p>No assemblies are discovered.</p>
<p>I've also tried <code>'*UnitTests.dll'</code> but to no
avail.</p></div>James Skimmingtag:help.appveyor.com,2012-11-13:Comment/343818912014-09-01T19:16:47Z2014-09-01T19:16:47ZHow to specify wildcards to match test assemblies in appveyor.yml<div><p>Try '***.UnitTests.dll'</p>
<p>-Feodor</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/343818912014-09-01T20:17:45Z2014-09-01T20:17:45ZHow to specify wildcards to match test assemblies in appveyor.yml<div><p>That fixed it. Could you update the <a href=
"http://www.appveyor.com/docs/running-tests">Running tests</a>
documentation as it gives <code>'*\*.tests.dll'</code> as the
example.</p></div>James Skimmingtag:help.appveyor.com,2012-11-13:Comment/343818912014-09-01T20:22:34Z2014-09-01T20:22:34ZHow to specify wildcards to match test assemblies in appveyor.yml<div><p>Sure, fixed. Thanks!</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/343818912014-09-01T21:08:46Z2014-09-01T21:08:46ZHow to specify wildcards to match test assemblies in appveyor.yml<div><p>Great thanks.</p></div>James Skimming