So I have what you would think is not a special environment case but maybe it is...
1. I have a Mvc Web project, that I want to unit test the javascript files, however I do not what my tests in this project. So I decided to create another mvc project use it as the test project.
I have been able to setup chutzpah to work in the ide using the json settions file to get to the referneces and event code coverage to work with blanket.js. (file references) so that headless testing will work with phantomjs.exe.
Well Now that that is working, the fun begins. No developer in their right mind wants to work without intellisense..., Right?
So after some investigation, I can add back the ///<reference> tags to the test files.
this seems to work, but then building becomes an issue for chutzpah is some of these will be HTTP references and can cause blanket.js to have cross-domain conflicts and fail..
So to correct that we add the chutzpah-excluded, attribute to the reference tag. Now the code coverage is fixed again.....But intellissense is broke again.
So, I decided to play with the extra attribute a bit, thinking that the word excluded itself had something to do with it, and after changing the attr name from chutzpah-exclude to just chutzpah, it worked, intellisense was restored.
I continued to play with it a bit and isolated it down to the fact that it is the "-" hyphen that is the actual issue. Intelisense is completely ignoring the reference tag if there is an attribute with a dash anywhere in it. granted this is a bug in intelisense but the easy solution is to chutzpah to support the attribute without the dash.
Has anyone else seen this issue?
Env:
windows server 2012 R2
Visual Studio 2013 Update 2, with web essentials pack
JSlint.net
and chutzpah edge
1. I have a Mvc Web project, that I want to unit test the javascript files, however I do not what my tests in this project. So I decided to create another mvc project use it as the test project.
I have been able to setup chutzpah to work in the ide using the json settions file to get to the referneces and event code coverage to work with blanket.js. (file references) so that headless testing will work with phantomjs.exe.
Well Now that that is working, the fun begins. No developer in their right mind wants to work without intellisense..., Right?
So after some investigation, I can add back the ///<reference> tags to the test files.
this seems to work, but then building becomes an issue for chutzpah is some of these will be HTTP references and can cause blanket.js to have cross-domain conflicts and fail..
So to correct that we add the chutzpah-excluded, attribute to the reference tag. Now the code coverage is fixed again.....But intellissense is broke again.
So, I decided to play with the extra attribute a bit, thinking that the word excluded itself had something to do with it, and after changing the attr name from chutzpah-exclude to just chutzpah, it worked, intellisense was restored.
I continued to play with it a bit and isolated it down to the fact that it is the "-" hyphen that is the actual issue. Intelisense is completely ignoring the reference tag if there is an attribute with a dash anywhere in it. granted this is a bug in intelisense but the easy solution is to chutzpah to support the attribute without the dash.
Has anyone else seen this issue?
Env:
windows server 2012 R2
Visual Studio 2013 Update 2, with web essentials pack
JSlint.net
and chutzpah edge