javascript - Chutzpah exception and not refreshing test list -


i'm using visual studio 2015 enterprise chutzpah test javascript code. error below continuously.

it not matter whether parallel set 1 or 8. error same.

as consequence, obviously, test explorer window not list tests described in file.

i'm not using references in spec files, in chutzpah.json file.

is there needed figure out how fix this?

update: works fine references, but, reason why converted project don't want copy-pasting references...

------ discover test started ------ error: system.io.ioexception: process cannot access file '..path...\_chutzpah.f96875093f45a5e0d78d2e58faf97799.test.html' because being used process.    @ system.io.__error.winioerror(int32 errorcode, string maybefullpath)    @ 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, boolean checkhost)    @ system.io.filestream..ctor(string path, filemode mode, fileaccess access, fileshare share, int32 buffersize, fileoptions options, string msgpath, boolean bfromproxy, boolean uselongpath, boolean checkhost)    @ system.io.streamwriter.createfile(string path, boolean append, boolean checkhost)    @ system.io.streamwriter..ctor(string path, boolean append, encoding encoding, int32 buffersize, boolean checkhost)    @ system.io.file.internalwritealltext(string path, string contents, encoding encoding, boolean checkhost)    @ system.io.file.writealltext(string path, string contents)    @ chutzpah.wrappers.filesystemwrapper.save(string path, string contents) in c:\dev\chutzpah\chutzpah\wrappers\filesystemwrapper.cs:line 172    @ chutzpah.testharnessbuilder.createtestharness(testcontext testcontext, testoptions options) in c:\dev\chutzpah\chutzpah\testharnessbuilder.cs:line 74    @ chutzpah.testrunner.<>c__displayclassc.<executetestcontexts>b__b(testcontext testcontext) in c:\dev\chutzpah\chutzpah\testrunner.cs:line 291 while running:...path...\\oauthauthenticationdataservice.spec.js  error: error opening ...path.../_chutzpah.f96875093f45a5e0d78d2e58faf97799.test.html: no such file or directory while running:...path...\oauthauthenticationdataservice.spec.js  error: unknown error occurred when executing test file. received exit code of 2 while running:...path...\oauthauthenticationdataservice.spec.js  ========== discover test finished: 0 found (0:00:01.3607047) ========== 

we had long conversation on github page issue. , combination of bug in visual studio test adapter framework , interaction resharper. if disabled resharped issue disappeared. still working find more permanent solution (outside of root bug being fixed in visual studio)


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -