------ Discover test started ------
An exception occurred while test discoverer 'SpecRunTestDiscoverer' was loading tests. Exception: Invalid configuration file: There is an error in XML document (2, 2). -> <TestProfile xmlns='http://www.specflow.org/schemas/plus/TestProfile/1.5'> was not expected.
========== Discover test finished: 0 found (0:00:00.343189) ==========
Please see the profile used below:
"<?xml version="1.0" encoding="utf-8"?>
<TestProfile xmlns="http://www.specflow.org/schemas/plus/TestProfile/1.5">
<Settings projectName="AcceptanceTests" projectId="{a1aba0a3-22d3-4d02-882d-0d44a1cf8c44}" />
<Execution stopAfterFailures="3" testThreadCount="1" testSchedulingMode="Sequential" />
<!-- For collecting by a SpecRun server update and enable the following element. For using the
collected statistics, set testSchedulingMode="Adaptive" attribute on the <Execution> element.
<Server serverUrl="http://specrunserver:6365" publishResults="true" />
-->
<TestAssemblyPaths>
<TestAssemblyPath>AcceptanceTests.dll</TestAssemblyPath>
</TestAssemblyPaths>
<DeploymentTransformation>
<Steps>
<!-- sample config transform to change the connection string-->
<!--<ConfigFileTransformation configFile="App.config">
<Transformation>
<![CDATA[<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<connectionStrings>
<add name="MyDatabase" connectionString="Data Source=.;Initial Catalog=MyDatabaseForTesting;Integrated Security=True"
xdt:Locator="Match(name)" xdt:Transform="SetAttributes(connectionString)" />
</connectionStrings>
</configuration>
]]>
</Transformation>
</ConfigFileTransformation>-->
</Steps>
</DeploymentTransformation>
</TestProfile>
"
Could you please advise? Thank you.
Kind regards,
Vlad.
--
You received this message because you are subscribed to the Google Groups "SpecRun" group.
To unsubscribe from this group and stop receiving emails from it, send an email to specrun+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Vlad, Did you figure out this issue? I have the exact same issue running tests from the command prompt. I am on SpecRun.Runner v1.5.2. The tests were working fine for a while, but now I get this error every time. I don't know what I did to cause this. Any info you could provide would be greatly appreciated!
--
Good day Andreas,
Apologies for the delay, I have just reiceved the answer from the end user, please find it below:
“The issue has been resolved when I removed latest versions of specrun.runner and specflow.specrun and added specrun 1.3.0 and specflow.specrun1.3.0
I think there is a bug in latest version.
I think they need to resolve this as soon as they can.
”
I’m not sure if this helps. Thank you.
Kind regards,
Vlad.