Quantcast
Channel: Chutzpah - A JavaScript Test Runner
Viewing all 1864 articles
Browse latest View live

New Post: Run code coverage in TFS build

$
0
0
What about version 3.0.0, did you add this feature?

Commented Unassigned: Get the Code Coverage for JS unit tests under TFS [176]

$
0
0
According to the following post:
http://chutzpah.codeplex.com/discussions/450464#post1120910
I filed this new issue.
The Chutzpah Test Adapter can get the code coverage for JS unit tests under VS but not TFS.
So, could you please add this feature in the next release.
Big thanks for you.
Comments: This feature has been release in version 3.0

Edited Unassigned: Get the Code Coverage for JS unit tests under TFS [176]

$
0
0
According to the following post:
http://chutzpah.codeplex.com/discussions/450464#post1120910
I filed this new issue.
The Chutzpah Test Adapter can get the code coverage for JS unit tests under VS but not TFS.
So, could you please add this feature in the next release.
Big thanks for you.

New Post: Run code coverage in TFS build

$
0
0
Yes it has been released. The details are in that work item

Commented Unassigned: Test Explorer Adapter shows no js tests [187]

$
0
0
Hi,

Have installed both the test explorer adapter as well as the context menu extension. When I right click and select Chutzpah's Run JS Tests it all works and I get status output in the Output window. However, when I do Ctrl A + R (run all tests in VS) no tests are shown in the test explorer.

Am I missing something? Do I have to do some extra configuration to tell Chutzpah where the tests are located? (They reside in the same project as the regular C#-unit tests.)

/Fredrik
Comments: That log is very strange. I would expect to see more. Can you send me a zip of your solution so I can see if I repro locally

Commented Unassigned: Test Explorer Adapter shows no js tests [187]

$
0
0
Hi,

Have installed both the test explorer adapter as well as the context menu extension. When I right click and select Chutzpah's Run JS Tests it all works and I get status output in the Output window. However, when I do Ctrl A + R (run all tests in VS) no tests are shown in the test explorer.

Am I missing something? Do I have to do some extra configuration to tell Chutzpah where the tests are located? (They reside in the same project as the regular C#-unit tests.)

/Fredrik
Comments: I am having the exact same issue. All tests are discovered and run fine in v.2.5, but after upgrading to v.3.0 no test are discovered. Also, the following output is put into the "JavaScript Language Service" output: 11:55:58.0400: Referenced file '~/Scripts/_references.js' not found. 11:55:58.0400: Referenced file '/lib/jasmine.js' not found. 11:55:58.0400: Referenced file '../../web/scripts/lib/jquery-1.10.1.js' not found. 11:55:58.0400: Referenced file '../../web/scripts/lib/jquery.validate.js' not found. 11:55:58.0400: Referenced file '../../Web/Scripts/lib/amplify.js' not found. .... All of my files use the ///<reference path='../../etc' /> syntax. I saw in the [upgrade notes](http://matthewmanela.com/blog/chutzpah-3-0-mocha-requirejs-and-more/#chutzpahjson) that the way references are handled has slightly changed. Could this be related? These references were found in v.2.5.

Commented Unassigned: Test Explorer Adapter shows no js tests [187]

$
0
0
Hi,

Have installed both the test explorer adapter as well as the context menu extension. When I right click and select Chutzpah's Run JS Tests it all works and I get status output in the Output window. However, when I do Ctrl A + R (run all tests in VS) no tests are shown in the test explorer.

Am I missing something? Do I have to do some extra configuration to tell Chutzpah where the tests are located? (They reside in the same project as the regular C#-unit tests.)

/Fredrik
Comments: FWIW, here is the Chutzpah.log file after adding the Tracing = true: Web Publish Package: Entering ProjectClosed Web Publish Package: Removing a project publish data Web Publish Package: Unadvise shell related events Web Publish Package: Exiting ProjectClosed Web Publish Package: Entering GetPublishableProjectCfg Web Publish Package: Creating a new project publish data Web Publish Package: Advise shell related events Web Publish Package: Exiting GetPublishableProjectCfg Web Publish Package: Entering ProjectOpened Web Publish Package: Exiting ProjectOpened Informational: ------ Load Playlist started ------ Informational: ========== Load Playlist finished (0:00:00.0100006) ========== Informational: ------ Discover test started ------ Informational: ========== Discover test finished: 133 found (0:00:01.4460827) ==========

Commented Unassigned: Test Explorer Adapter shows no js tests [187]

$
0
0
Hi,

Have installed both the test explorer adapter as well as the context menu extension. When I right click and select Chutzpah's Run JS Tests it all works and I get status output in the Output window. However, when I do Ctrl A + R (run all tests in VS) no tests are shown in the test explorer.

Am I missing something? Do I have to do some extra configuration to tell Chutzpah where the tests are located? (They reside in the same project as the regular C#-unit tests.)

/Fredrik
Comments: Hmm that is strange. Can you both do two more things for me 1. Give me zips of your projects so I can test. I haven't hit these issues in my testing so it could be something wierd but I want to rule out anything in the project. 2. Run VS with the /Log argument and repro the issue thensend me that activity log (http://msdn.microsoft.com/en-us/library/ms241272.aspx)

Commented Unassigned: Test Explorer Adapter shows no js tests [187]

$
0
0
Hi,

Have installed both the test explorer adapter as well as the context menu extension. When I right click and select Chutzpah's Run JS Tests it all works and I get status output in the Output window. However, when I do Ctrl A + R (run all tests in VS) no tests are shown in the test explorer.

Am I missing something? Do I have to do some extra configuration to tell Chutzpah where the tests are located? (They reside in the same project as the regular C#-unit tests.)

/Fredrik
Comments: Also, @patburke234 w, is that the log after running the repro again by closing then opening the solution? I expect to see more in it

Commented Unassigned: Cannot run JayData with Chutzpah [182]

$
0
0
I am using:
QUnit 1.6.2.0
Chutzpah 2.5.0
Jaydata 1.3.4
JQuery 1.8.3
Visual Studio 2012 Update 4

I've setup a simple test to create and load an indexedDb database with JayData. The test works fine from the test html page I have but not with Chutzpah in the IDE.

One thing to note: When I tell JayData to use the indexedDb provider, it will load another JS file for that provider from a path relative to the one the Jaydata.js file is in. I wonder if the problem I am having is because JayData cannot load that provider file when running with Chutzpah.

When I right click and choose 'Run JS Tests' in the IDE, my test fails with the JayData error 'Provider fallback failed'. Which indicates it cannot load the provider I specified (I think).

I've tried to force Chutzpah to load the JayData indexedDb provider by using /// <chutzpah_reference... in my tests.js file, but it still did not work.

Comments: I've updated to Chutzpah 3.0.0 but it still does not work. The attached .ZIP will show this problem event when running with Chutzpah 3.0.0

New Post: Can't get the test adapter to work.

$
0
0
I don't even see "------ Discover test started ------ " in my test output window in Visual Studio 2013 with Chutzpah 3.0

New Post: Can't get the test adapter to work.

Commented Unassigned: Test Explorer Adapter shows no js tests [187]

$
0
0
Hi,

Have installed both the test explorer adapter as well as the context menu extension. When I right click and select Chutzpah's Run JS Tests it all works and I get status output in the Output window. However, when I do Ctrl A + R (run all tests in VS) no tests are shown in the test explorer.

Am I missing something? Do I have to do some extra configuration to tell Chutzpah where the tests are located? (They reside in the same project as the regular C#-unit tests.)

/Fredrik
Comments: Yes, that is the full log. When testing a simple sample application, Chutzpah works correctly. This makes me think it has to do with the solution layout, but this doesn't explain why half of the developers on my team with the exact same version of VS and Chutzpah, working off of the same solution from Source Control, is getting all of the tests discovered and run while the other half are getting issues like I am. I am thoroughly confused by this. By that logic, it cannot be the solution and has to be something that the plugin in reacting to on our local machines. In the successful cases, the log is littered with Phantom.js messages. In the invalid cases, it seems that Phantom is never even initiated.

Commented Unassigned: Test Explorer Adapter shows no js tests [187]

$
0
0
Hi,

Have installed both the test explorer adapter as well as the context menu extension. When I right click and select Chutzpah's Run JS Tests it all works and I get status output in the Output window. However, when I do Ctrl A + R (run all tests in VS) no tests are shown in the test explorer.

Am I missing something? Do I have to do some extra configuration to tell Chutzpah where the tests are located? (They reside in the same project as the regular C#-unit tests.)

/Fredrik
Comments: I just verified that everything works perfectly with VS 2012 (Update 4) on the same solutions across all developers machines, but fails to discover for half of us in VS 2013.

Commented Unassigned: Cannot run JayData with Chutzpah [182]

$
0
0
I am using:
QUnit 1.6.2.0
Chutzpah 2.5.0
Jaydata 1.3.4
JQuery 1.8.3
Visual Studio 2012 Update 4

I've setup a simple test to create and load an indexedDb database with JayData. The test works fine from the test html page I have but not with Chutzpah in the IDE.

One thing to note: When I tell JayData to use the indexedDb provider, it will load another JS file for that provider from a path relative to the one the Jaydata.js file is in. I wonder if the problem I am having is because JayData cannot load that provider file when running with Chutzpah.

When I right click and choose 'Run JS Tests' in the IDE, my test fails with the JayData error 'Provider fallback failed'. Which indicates it cannot load the provider I specified (I think).

I've tried to force Chutzpah to load the JayData indexedDb provider by using /// <chutzpah_reference... in my tests.js file, but it still did not work.

Comments: I found the problem. The JayData isSupported() method (line 14270 of jaydata.js) attempts to find the browser's IDBFactory object by examining window.indexedDB, window.webkitIndexedDB, window.mozIndexedDB, and window.msIndexedDB. The problem is that none of these properties exist in the PhantomJS browser which Chutzpah uses. I am currently looking at the PhantomJS and QTWebkit sites to see how the browser supports HTML5 IndexedDB. If I cannot find a fix, I'll just change my unit tests to use the JayData InMemoryProvider. That should work.

Commented Unassigned: Test Explorer Adapter shows no js tests [187]

$
0
0
Hi,

Have installed both the test explorer adapter as well as the context menu extension. When I right click and select Chutzpah's Run JS Tests it all works and I get status output in the Output window. However, when I do Ctrl A + R (run all tests in VS) no tests are shown in the test explorer.

Am I missing something? Do I have to do some extra configuration to tell Chutzpah where the tests are located? (They reside in the same project as the regular C#-unit tests.)

/Fredrik
Comments: Here is the content of Chutzpah.log. I also attached a very simple solution. devenv.exe Information: 0 : Time:11:01:04.8435240; Thread:1; Message:Chutzpah.json file not found devenv.exe Information: 0 : Time:11:01:04.9095306; Thread:1; Message:Chutzpah.json file not found devenv.exe Information: 0 : Time:11:01:05.0105407; Thread:1; Message:Chutzpah.json file not found devenv.exe Information: 0 : Time:11:01:05.0865483; Thread:1; Message:Chutzpah.json file not found devenv.exe Information: 0 : Time:11:01:05.1405537; Thread:1; Message:Chutzpah.json file not found devenv.exe Information: 0 : Time:11:01:05.1545551; Thread:1; Message:Chutzpah.json file not found devenv.exe Information: 0 : Time:11:01:05.1625559; Thread:1; Message:Chutzpah.json file not found devenv.exe Information: 0 : Time:11:01:05.1745571; Thread:1; Message:Chutzpah.json file not found devenv.exe Information: 0 : Time:11:01:05.1855582; Thread:1; Message:Chutzpah.json file not found devenv.exe Information: 0 : Time:11:01:05.1995596; Thread:1; Message:Chutzpah.json file not found devenv.exe Information: 0 : Time:11:01:05.2935690; Thread:1; Message:Chutzpah.json file not found devenv.exe Information: 0 : Time:11:01:05.3845781; Thread:1; Message:Chutzpah.json file not found Informational: ------ Discover test started ------ Informational: ========== Discover test finished: 0 found (0:00:05.2125212) ========== Entering constructor for: Microsoft.Cct.CctSharedPackage Entering Initialize() of: Microsoft.Cct.CctSharedPackage

Commented Unassigned: Test Explorer Adapter shows no js tests [187]

$
0
0
Hi,

Have installed both the test explorer adapter as well as the context menu extension. When I right click and select Chutzpah's Run JS Tests it all works and I get status output in the Output window. However, when I do Ctrl A + R (run all tests in VS) no tests are shown in the test explorer.

Am I missing something? Do I have to do some extra configuration to tell Chutzpah where the tests are located? (They reside in the same project as the regular C#-unit tests.)

/Fredrik
Comments: Here is the output from my %temp%\chutzpah.log file when I open and build the following project in Visual Studio 2013 with Chutzpah 3.0: [AngularJS SPA Template for Visual Studio](https://github.com/KriaSoft/AngularJS-SPA-Template) ``` devenv.exe Information: 0 : Time:10:41:32.3183310; Thread:1; Message:Chutzpah.json file found at c:\projects\angularjs spa template\src\web\scripts\chutzpah.json given directoy c:\projects\angularjs spa template\src\web\scripts devenv.exe Information: 0 : Time:10:41:32.4093609; Thread:1; Message:Chutzpah.json file found at c:\projects\angularjs spa template\src\web\scripts\chutzpah.json given directoy c:\projects\angularjs spa template\src\web\scripts\typings\angularjs devenv.exe Information: 0 : Time:10:41:32.4123606; Thread:1; Message:Chutzpah.json file found at c:\projects\angularjs spa template\src\web\scripts\chutzpah.json given directoy c:\projects\angularjs spa template\src\web\scripts\typings\jasmine devenv.exe Information: 0 : Time:10:41:32.4123606; Thread:1; Message:Chutzpah.json file found at c:\projects\angularjs spa template\src\web\scripts\chutzpah.json given directoy c:\projects\angularjs spa template\src\web\scripts\typings\jquery devenv.exe Information: 0 : Time:10:41:32.4133605; Thread:1; Message:Chutzpah.json file found at c:\projects\angularjs spa template\src\web\scripts\chutzpah.json given directoy c:\projects\angularjs spa template\src\web\scripts\typings\signalr devenv.exe Information: 0 : Time:10:41:32.4143525; Thread:1; Message:Chutzpah.json file found at c:\projects\angularjs spa template\src\web\scripts\chutzpah.json given directoy c:\projects\angularjs spa template\src\web\scripts\vendor devenv.exe Information: 0 : Time:10:41:32.4343363; Thread:1; Message:Chutzpah.json file found at c:\projects\angularjs spa template\src\web\scripts\chutzpah.json given directoy c:\projects\angularjs spa template\src\web\scripts\vendor\i18n Informational: ------ Discover test started ------ Informational: ========== Discover test finished: 0 found (0:00:09,3969574) ========== Informational: ------ Discover test started ------ Informational: ========== Discover test finished: 0 found (0:00:00,1440309) ========== Entering constructor for: Microsoft.Cct.CctSharedPackage Entering Initialize() of: Microsoft.Cct.CctSharedPackage Informational: ------ Discover test started ------ Informational: ========== Discover test finished: 0 found (0:00:00,1119959) ========== Informational: ------ Discover test started ------ Informational: ========== Discover test finished: 0 found (0:00:00,1050035) ========== ```

New Post: Can't get the test adapter to work.

$
0
0
I don't see any usefull info in the log file other than the following line which is repeated several times (replaced paths with {PATH} for brevity):
devenv.exe Information: 0 : Time:10:41:32.3183310; Thread:1; Message:Chutzpah.json file found at {PATH} given directoy {PATH}
And then goes:
Informational: ------ Discover test started ------
Informational: ========== Discover test finished: 0 found (0:00:09,3969574) ==========

Created Unassigned: I need to download the 2.5 VS extensions [189]

$
0
0
I've upgraded to 3.0 in VS 2012 but I need to remove 3.0 and reinstall 2.5.

Where can I find the VSIX installations for Chutzpah 2.5 for VS 2012?

Commented Unassigned: I need to download the 2.5 VS extensions [189]

$
0
0
I've upgraded to 3.0 in VS 2012 but I need to remove 3.0 and reinstall 2.5.

Where can I find the VSIX installations for Chutzpah 2.5 for VS 2012?
Comments: I keep the older versions here: https://skydrive.live.com/?mkt=en-US#cid=D08E5C6BF97C4C7B&id=D08E5C6BF97C4C7B%2117982 What is the reason for the downgrade?
Viewing all 1864 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>