{"action":"created","issue":{"url":"https://api.github.com/repos/xunit/xunit/issues/186","labels_url":"https://api.github.com/repos/xunit/xunit/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/xunit/xunit/issues/186/comments","events_url":"https://api.github.com/repos/xunit/xunit/issues/186/events","html_url":"https://github.com/xunit/xunit/issues/186","id":43033711,"number":186,"title":"Example of using multiple assemblies","user":{"login":"devdigital","id":951490,"avatar_url":"https://avatars.githubusercontent.com/u/951490?v=3","gravatar_id":"","url":"https://api.github.com/users/devdigital","html_url":"https://github.com/devdigital","followers_url":"https://api.github.com/users/devdigital/followers","following_url":"https://api.github.com/users/devdigital/following{/other_user}","gists_url":"https://api.github.com/users/devdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/devdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devdigital/subscriptions","organizations_url":"https://api.github.com/users/devdigital/orgs","repos_url":"https://api.github.com/users/devdigital/repos","events_url":"https://api.github.com/users/devdigital/events{/privacy}","received_events_url":"https://api.github.com/users/devdigital/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xunit/xunit/labels/Documentation","name":"Documentation","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/xunit/xunit/milestones/9","labels_url":"https://api.github.com/repos/xunit/xunit/milestones/9/labels","id":813721,"number":9,"title":"documentation","description":"Placeholder for all documentation issues","creator":{"login":"bradwilson","id":16944,"avatar_url":"https://avatars.githubusercontent.com/u/16944?v=3","gravatar_id":"","url":"https://api.github.com/users/bradwilson","html_url":"https://github.com/bradwilson","followers_url":"https://api.github.com/users/bradwilson/followers","following_url":"https://api.github.com/users/bradwilson/following{/other_user}","gists_url":"https://api.github.com/users/bradwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/bradwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradwilson/subscriptions","organizations_url":"https://api.github.com/users/bradwilson/orgs","repos_url":"https://api.github.com/users/bradwilson/repos","events_url":"https://api.github.com/users/bradwilson/events{/privacy}","received_events_url":"https://api.github.com/users/bradwilson/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2014-10-04T17:47:24Z","updated_at":"2014-11-30T19:09:47Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2014-09-17T16:29:56Z","updated_at":"2015-01-06T08:45:22Z","closed_at":null,"body":"Hi, do you have an example of using multiple assemblies (wildcard pattern) either with the command line tool or the MSBuild task? Thanks."},"comment":{"url":"https://api.github.com/repos/xunit/xunit/issues/comments/68839881","html_url":"https://github.com/xunit/xunit/issues/186#issuecomment-68839881","issue_url":"https://api.github.com/repos/xunit/xunit/issues/186","id":68839881,"user":{"login":"tomap","id":153854,"avatar_url":"https://avatars.githubusercontent.com/u/153854?v=3","gravatar_id":"","url":"https://api.github.com/users/tomap","html_url":"https://github.com/tomap","followers_url":"https://api.github.com/users/tomap/followers","following_url":"https://api.github.com/users/tomap/following{/other_user}","gists_url":"https://api.github.com/users/tomap/gists{/gist_id}","starred_url":"https://api.github.com/users/tomap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomap/subscriptions","organizations_url":"https://api.github.com/users/tomap/orgs","repos_url":"https://api.github.com/users/tomap/repos","events_url":"https://api.github.com/users/tomap/events{/privacy}","received_events_url":"https://api.github.com/users/tomap/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T08:45:22Z","updated_at":"2015-01-06T08:45:22Z","body":"Hi,\r\n\r\nAdding more example in the documentation would be great.\r\nIt took me some time to figure out how it worked to run tests in parallel for multiple assemblies:\r\n\r\nHere is a command line example:\r\n\r\nxunit.console.x86.exe -parallel all pathTo\\myDll.Tests.dll pathTo\\myDll2.Tests.dll\r\nor with a fake path:\r\nxunit.console.x86.exe -parallel all c:\\project\\myDll.Tests.dll c:\\project\\myDll2.Tests.dll\r\n\r\nnote that if you have spaces in your path, you need to add quotes:\r\n\r\nxunit.console.x86.exe -parallel all \"c:\\my project\\myDll.Tests.dll\" \"c:\\my project\\myDll2.Tests.dll\"\r\n\r\nThen, the tricky part is running all that inside OpenCover :) :\r\n\r\nOpenCover.exe \"-target:xunit.console.x86.exe\" \"-targetargs:-parallel all -xml \\\"c:\\my project\\out.xml\\\" \\\"c:\\my project\\myDll.Tests.dll\\\" \\\"c:\\my project\\myDll2.Tests.dll\\\"\"\r\n\r\nI am not sure how to do that last command in MSBuild without using <Exec /> task.\r\n"}}