Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After updating to 2.2.0, my uitest crashes when called using nunit-console #185

Open
jpc1963 opened this issue Oct 18, 2019 · 0 comments
Open

Comments

@jpc1963
Copy link

jpc1963 commented Oct 18, 2019

I have a Xamarin UITest project which runs tests in iOS & Android simulators.
The tests are run from Jenkins using the console runner ie:

mono nunit-console.exe --xml=bla.xml --out="bla.txt" SpecFlow.UITest/bin/Debug/SpecFlow.UITest.dll -run="SpecFlow.UITest.Features.InitialLoginFeature(FeatureName)"

After updating to 2.2.0 of the test adapter the above command fails with the following error:
Execution Runtime: mono-4.0
Unhandled Exception:
System.InvalidCastException: Specified cast is not valid.

I use the following nugets:
Nunit = 2.6.4
Nunit.Runners = 2.6.4
Xamarin.UITest = 3.0.3
Specflow = 1.9.0

And I use vs2019 8.3.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant