I recently decided to get the SpecFlow+ 30 days trial and installed the NuGet package SpecFlow+ Runner which also installed the SpecFlow one. I registered the license key following their guides and started adding a feature file and a feature steps and got this error when building my solution:
An exception occurred while test discoverer 'SpecRunTestDiscoverer' was loading tests. Exception: Invalid configuration file (..path..)Specs\bin\Debug\Default.srprofile:There is an error in XML document (3, 28). -> Expected hex 0x in '{0}'.
Here is a snippet of the Default.srprofile:
<?xml version="1.0" encoding="utf-8"?>
<TestProfile xmlns="http://www.specflow.org/schemas/plus/TestProfile/1.5">
<Settings projectName="" projectId="{}" />
<Execution stopAfterFailures="3" testThreadCount="1" testSchedulingMode="Sequential" />
Can you please help me?
Note that the solution was built from scratch only to test SpecFlow+ features. Also note that the scenario created is very basic and it works if used with other test engines(SpecFlow with MSUnit, xUnit or NUnit).
Thank you!