Code coverage gives error if jquery.jstepper.min.js is referenced in the test file. It shifts the "js" in "JStepper" to the end of the file name
Chutzpah Error: System.AggregateException: One or more errors occurred. ---> System.IO.FileNotFoundException: Could not find file 'C:\xxx\xxx\xxx\xxx\xxx\Common\jquerytepper.min.js.js'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path, Encoding encoding)
at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
at System.IO.File.ReadAllLines(String path)
at Chutzpah.Wrappers.FileSystemWrapper.GetLines(String path)
at Chutzpah.Coverage.BlanketJsCoverageEngine.DeserializeCoverageObject(String json, TestContext testContext)
at Chutzpah.TestCaseStreamReader.ReadFromStream(StreamReader stream, TestContext testContext, ITestMethodRunnerCallback callback, Boolean debugEnabled)
at Chutzpah.TestCaseStreamReader.<>c__DisplayClass1.<Read>b__0()
at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.get_Result()
at Chutzpah.TestCaseStreamReader.Read(ProcessStream processStream, TestOptions testOptions, TestContext testContext, ITestMethodRunnerCallback callback, Boolean debugEnabled)
at Chutzpah.TestRunner.<>c__DisplayClass5.<InvokeTestRunner>b__4(ProcessStream processStream)
at Chutzpah.ProcessHelper.RunExecutableAndProcessOutput[T](String exePath, String arguments, Func`2 streamProcessor)
at Chutzpah.TestRunner.InvokeTestRunner(String headlessBrowserPath, TestOptions options, TestContext testContext, TestRunnerMode testRunnerMode, ITestMethodRunnerCallback callback)
at Chutzpah.TestRunner.<>c__DisplayClass2.<ProcessTestPaths>b__1(PathInfo testFile)
---> (Inner Exception #0) System.IO.FileNotFoundException: Could not find file 'C:\xxx\xxxxxxx\xxxx\Scripts\Common\jquerytepper.min.js.js'.
File name: 'C:\xxx\xxx\xxxx\xxxx\xxx\xxxx\jquerytepper.min.js.js'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path, Encoding encoding)
at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
at System.IO.File.ReadAllLines(String path)
at Chutzpah.Wrappers.FileSystemWrapper.GetLines(String path)
at Chutzpah.Coverage.BlanketJsCoverageEngine.DeserializeCoverageObject(String json, TestContext testContext)
at Chutzpah.TestCaseStreamReader.ReadFromStream(StreamReader stream, TestContext testContext, ITestMethodRunnerCallback callback, Boolean debugEnabled)
at Chutzpah.TestCaseStreamReader.<>c__DisplayClass1.<Read>b__0()
at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
While Running:C:\xxx\xxx\xxx\xxx\Scripts\xxxTest.js
========== Total Tests: 0 passed, 0 failed, 0 total ==========
Chutzpah Error: System.AggregateException: One or more errors occurred. ---> System.IO.FileNotFoundException: Could not find file 'C:\xxx\xxx\xxx\xxx\xxx\Common\jquerytepper.min.js.js'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path, Encoding encoding)
at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
at System.IO.File.ReadAllLines(String path)
at Chutzpah.Wrappers.FileSystemWrapper.GetLines(String path)
at Chutzpah.Coverage.BlanketJsCoverageEngine.DeserializeCoverageObject(String json, TestContext testContext)
at Chutzpah.TestCaseStreamReader.ReadFromStream(StreamReader stream, TestContext testContext, ITestMethodRunnerCallback callback, Boolean debugEnabled)
at Chutzpah.TestCaseStreamReader.<>c__DisplayClass1.<Read>b__0()
at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.get_Result()
at Chutzpah.TestCaseStreamReader.Read(ProcessStream processStream, TestOptions testOptions, TestContext testContext, ITestMethodRunnerCallback callback, Boolean debugEnabled)
at Chutzpah.TestRunner.<>c__DisplayClass5.<InvokeTestRunner>b__4(ProcessStream processStream)
at Chutzpah.ProcessHelper.RunExecutableAndProcessOutput[T](String exePath, String arguments, Func`2 streamProcessor)
at Chutzpah.TestRunner.InvokeTestRunner(String headlessBrowserPath, TestOptions options, TestContext testContext, TestRunnerMode testRunnerMode, ITestMethodRunnerCallback callback)
at Chutzpah.TestRunner.<>c__DisplayClass2.<ProcessTestPaths>b__1(PathInfo testFile)
---> (Inner Exception #0) System.IO.FileNotFoundException: Could not find file 'C:\xxx\xxxxxxx\xxxx\Scripts\Common\jquerytepper.min.js.js'.
File name: 'C:\xxx\xxx\xxxx\xxxx\xxx\xxxx\jquerytepper.min.js.js'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path, Encoding encoding)
at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
at System.IO.File.ReadAllLines(String path)
at Chutzpah.Wrappers.FileSystemWrapper.GetLines(String path)
at Chutzpah.Coverage.BlanketJsCoverageEngine.DeserializeCoverageObject(String json, TestContext testContext)
at Chutzpah.TestCaseStreamReader.ReadFromStream(StreamReader stream, TestContext testContext, ITestMethodRunnerCallback callback, Boolean debugEnabled)
at Chutzpah.TestCaseStreamReader.<>c__DisplayClass1.<Read>b__0()
at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
While Running:C:\xxx\xxx\xxx\xxx\Scripts\xxxTest.js
========== Total Tests: 0 passed, 0 failed, 0 total ==========