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

Getting same error in different testing projects VS 2013 #125

Open
ghost opened this issue Mar 24, 2016 · 2 comments
Open

Getting same error in different testing projects VS 2013 #125

ghost opened this issue Mar 24, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 24, 2016

Length cannot be less than zero.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at OpenCover.UI.Processors.NUnitTestExecutor.ReadTestCase(XElement ts)
at OpenCover.UI.Processors.NUnitTestExecutor.b__1(XElement ts)
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.<UnionIterator>d__881.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.<SelectManyIterator>d__142.MoveNext()
at System.Linq.Lookup2.CreateForJoin(IEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer)
at System.Linq.Enumerable.d__614.MoveNext() at OpenCover.UI.Processors.NUnitTestExecutor.UpdateTestMethodsExecution(IEnumerable1 tests)
at OpenCover.UI.Commands.ExecuteSelectedTestsCommand.b__1()

@pver
Copy link
Contributor

pver commented Mar 24, 2016

Something seems to go wrong while reading the test results.
What version of NUnit are you using (not the dll version referenced in your test project, but the version of NUnit you configured for use by OpenCover.UI)?

@ashes999
Copy link

ashes999 commented Apr 21, 2016

This looks like a duplicate of #42

I get the same stack dump today. I'm using VS2015 and NUnit 2.6.4 (latest 2.x prod version), with OpenCover configured to use nunit-console.exe

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

2 participants