Skip to content

Commit 4ce0217

Browse files
committed
Fix test executor fail when the assembly name contains spaces
1 parent 1c5acd8 commit 4ce0217

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

AxoCover/Models/Testing/Execution/OpenCoverProcessInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private static string GetSettingsBasedArguments(OpenCoverOptions options)
6161

6262
if (options.IsCoveringByTest)
6363
{
64-
arguments += " -coverbytest:" + string.Join(";", options.TestAssemblies.Select(p => "*" + p + "*"));
64+
arguments += " -coverbytest:" + string.Join(";", options.TestAssemblies.Select(p => "*" + p.Replace(' ', '*') + "*"));
6565
}
6666

6767
if(options.IsVisitorCountLimited)

AxoCover/changelog.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
- Show duration of all test nodes
99
- Minor UI improvements
1010
- Disabled horizontal scrolling in test lists
11-
- Collapse all now leaves the solution expanded
11+
- Collapse all now leaves the solution expanded
12+
- Fix test executor fail when the assembly name contains spaces
1213

1314
1.1.6
1415
- Allow settings to be accessed without loading a solution

AxoCover/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
33
<Metadata>
4-
<Identity Id="26901782-38e1-48d4-94e9-557d44db052e" Version="1.1.6.11" Language="en-US" Publisher="Péter Major" />
4+
<Identity Id="26901782-38e1-48d4-94e9-557d44db052e" Version="1.1.6.12" Language="en-US" Publisher="Péter Major" />
55
<DisplayName>AxoCover</DisplayName>
66
<Description xml:space="preserve">Nice and free .Net code coverage support for Visual Studio with OpenCover.</Description>
77
<MoreInfo>https://marketplace.visualstudio.com/items?itemName=axodox1.AxoCover</MoreInfo>

0 commit comments

Comments
 (0)