Skip to main content

Questions tagged [chutzpah]

Chutzpah is an open source JavaScript test runner which helps you integrate JavaScript unit testing into your website. It enables you to run JavaScript unit tests from the command line and from inside of Visual Studio. It also supports running in the TeamCity continuous integration server. Chutzpah supports the QUnit, Jasmine and Mocha testing frameworks. Chutzpah uses the PhantomJS headless browser to run your tests.

0 votes
1 answer
27 views

Jasmine tests randomly fail due to timeout when run under Chutzpah

I have been struggling to get Chutzpah and Jasmine to play nicely. This is on a legacy project that's no longer actively maintained, so I'm trying to work with what I have at the moment. When running ...
Isaac Corbrey's user avatar
1 vote
1 answer
80 views

Exception when running QUnit test script in Visual Studio 2022

I'm encountering an issue when I try to run a QUnit test script for a JavaScript file in Visual Studio 2022. The error message thrown reads: System.ArgumentException: The specified argument cannot be ...
Gourango Ghosh's user avatar
0 votes
0 answers
91 views

Chutzpah can't find Typescript Jasmine tests in VS 2022 Test Explorer

I have used Chutzpah as a Javascript test runner in Visual Studio 2022 for a while now, and it's worked beautifully. I was using straight javascript before, but am now trying to migrate my project to ...
cidthecoatrack's user avatar
0 votes
1 answer
175 views

ERR_EMPTY_RESPONSE when running unit tests using Chutzpah in Visual Studio 2022

A recent update to Visual Studio saw the Chutzpah Unit Test Runner no longer running the tests. Using the context menu VS extension, it seems like the Kestrel web server is not initiated, hence the ...
NeilC's user avatar
  • 1,380
3 votes
0 answers
213 views

Writing Jasmine unit tests in ES6 and using Chutzpah as test runner Visual Studio 2019

I am using the Jasmine testing library to write my unit tests. I'd like to use ES6 syntax to write the tests and am also testing files written in ES6. I want to use Chutzpah as the test runner (I am ...
bksinn's user avatar
  • 121
2 votes
1 answer
324 views

Chutzpah 4.4.11 failing with exit code 2 when running with vstest

vstest.console.exe 16.10 works with Chutzpah 4.2.3. But upgraded to Chutzpah 4.4.11, and it fails with exit code of 2. chutzpah.console.exe also works by itself in 4.4.11, so I'm not sure if I'm ...
timprice's user avatar
  • 360
-1 votes
1 answer
255 views

Chutzpah or Jasmine does not let me run tests which use prototype

Chutzpah and Jasmine runs fine in my solution in Visual Studio, for my javascript tests. I have an issue, and I think it's chutzpah but I'm not 100% certain (it could be Jasmine). I now need to test ...
MyDaftQuestions's user avatar
-1 votes
1 answer
355 views

Chutzpah does not let me reference a function with <reference path

I am trying to use Jasmine, via NodeJs and Chutzpah to test the javascript in my project. This is in Visual Studio The Jasmine test looks like /// <reference path ='../../net5.Ui/wwwroot/Shared/...
MyDaftQuestions's user avatar
0 votes
1 answer
136 views

Running chutzpah on server using chrome

I have Java Script project where I am using Chutzpah and intend to run in server. I have tried changed to chrome in local and it works fine except a few test cases. Do we need to define the browser ...
Amrit Panda's user avatar
0 votes
0 answers
81 views

VS JavaScript debugging - break only on breakpoints?

How do I stop VS 2019 breaking on javascript/typescript exceptions and only break when it hits my breakpoints? I've unselected JavaScript Runtime Exceptions but still it keeps breaking. Background: ...
Etherman's user avatar
  • 1,827
0 votes
0 answers
45 views

How to debug Chutzpah JsonReaderException

I'm running Chutzpah on a very large file tree of unit tests owned by multiple teams. While doing a "chutzpah .", I run into this exception: Chutzpah Error: Newtonsoft.Json.JsonReaderException: ...
Elliott Beach's user avatar
0 votes
1 answer
145 views

Chutzpah doesn't detect jasmine tests in Typescript with AMD modules

We are trying to figure out a approach for UI testing and felt chutzpah will be a nice option. I wrote jasmine tests using typescript and requirejs. Chutzpah is able to detect the sample tests which ...
Naresh_drake's user avatar
0 votes
0 answers
37 views

How to cover the Js code inside the Jquery using chutzpah

Writing test case using chutzpah. Code inside the $(document).ready(function () { is not running. How to cover the js code inside the Jquery ready function?
Gobika Krishna's user avatar
0 votes
1 answer
431 views

Browser compatibility testing in automated unit tests for new angular framework codes

Is it possible to test the browser compatibility using automated JavaScript unit tests? I have to test my angular 6 code for some dom test cases in different browser scenarios. This unit tests should ...
Techie's user avatar
  • 63
0 votes
1 answer
144 views

Chutzpah & Jasmine tests - upgrade to TFS 2017 has broken tests?

We've been running javascript tests using jasmine and chutzpah for a while now. We just upgraded to TFS 2017. Our C# test run fine, but javascript tests are no longer being found by the TFS builds. (...
Jim's user avatar
  • 312

15 30 50 per page
1
2 3 4 5
18