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.

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.

Resources

262 questions
6
votes
1 answer

Unit Testing angularjs with jasmine and chutzpah in visual studio2013 wont work

I want to use Chutzpah to run JavaScript unit tests in Visual Studio 2013. As long as I don't reference angular.js the tests will run. Using angular.js those tests won't run and the VS Output gives me the following message: Error: Error:…
shaft
  • 71
  • 5
6
votes
1 answer

Can/How I use protractor with chutzpah?

I've been recently writing unit tests for my angular applications using chutzpah and so far everything is just fine, but now I'm starting to write e2e tests and wanted to use protractor as it's the recommended way of doing e2e in modern angular but…
6
votes
1 answer

Does chutzpah support requirejs shims/config?

I have some qunit tests setup to test my code that extensively uses requirejs. I use Chutzpah to perform the test running within VS. Everything works fine if I run the tests in the browser but not from within VS only. It seems to be ignoring my…
Adam Carr
  • 2,986
  • 7
  • 31
  • 38
5
votes
1 answer

Chutzpah configuration for running TypeScript tests in both Visual Studio and Visual Studio Team Services build

We have a Visual Studio 2013 solution for an AngularJS application, written in TypeScript. There is a separate test project for the Jasmine unit tests, also written in TypeScript. What we are having trouble with is finding a build/Chutzpah…
Nick Baker
  • 717
  • 4
  • 27
5
votes
2 answers

Chutzpah and Jasmine 2.0 and RequrieJs

I'm having some bother getting Chutzpah to work with requireJs/jasmine 2.0. This method worked for version 1.3 but now for jasmine version 2.0 chutzpah has stopped picking up the tests. I upgraded chutzpah to 3.1.1 for the jasmine 2.0 support as…
Neil
  • 5,179
  • 8
  • 48
  • 87
5
votes
1 answer

Chutzpah visual studio test runner cannot find JS references

I'm building an ASP.NET website in Visual Sutio 2013 and I'm testing with Jasmine and the Chutzpah test runner plugin. The tests are found alright, but the needed references are not loaded. I've tried starting my test file with the following to make…
Morten Christiansen
  • 19,002
  • 22
  • 69
  • 94
5
votes
4 answers

Visual Studio Error List: Ignore a JavaScript reference

There are probably like three people doing what I'm doing but here goes: Visual Studio 2012 Latest Web Essentials TypeScript project AngularJS framework Running Chutzpah tests with Jasmine When creating tests for Chutzpah, I need to add references…
roufamatic
  • 18,187
  • 7
  • 57
  • 86
5
votes
3 answers

Chutzpah integration with TFS 2012

My team is trying to integrate Chutzpah into the TFS 2012 build process. We used this blog post as our starting point. At a high level, the practical issue is that the Visual Studio Test Runner in the build agent context simply isn't finding the…
Rex M
  • 142,167
  • 33
  • 283
  • 313
4
votes
1 answer

Chutzpah and Jasmine typescript unit testing

I am trying to get Chutzpah and Jasmine working together in visual studio, my end goal is to get unit tests running with TeamCity integration. On save, all of the typescript code generates a single .js file. This also causes Chutzpah to run my…
IrkenInvader
  • 4,030
  • 1
  • 12
  • 23
4
votes
1 answer

Chutzpah executes reference js files as test ones in Visual Studio 2013

I am using Chutzpah in Visual Studio 2013 Update 2, and I am trying to do some unit testing using jasmine for AngularJS. The problem is that for some reason chutzpan thinks my reference javascript files are files to test. No matter where I include…
Stoyan Stoyanov
  • 135
  • 1
  • 10
4
votes
2 answers

Chutzpah running Jasmine in TFS 2012 can't find referenced file under test

I am using Chutzpah to run our Jasmine tests. I have added the Chutzpah dlls to the solution and updated the build to run *.js tests. The project structure is as follows: MyApp.Web Scripts App Home …
skyfoot
  • 20,629
  • 8
  • 49
  • 71
4
votes
2 answers

Using Chutzpah to run Typescript qUnit tests

I've recently tried to incorporate qUnit and Chutzpah to unit test a project I'm working on which is written in typescript. I've got things setup in what I believe is the correct manner and the following things work: The typescript application! - I…
dougajmcdonald
  • 19,231
  • 12
  • 56
  • 89
4
votes
3 answers

Unable to get jasmine-jquery fixtures to load in Visual Studio with Chutzpah, or even in browser

I'm prototyping a MVC.NET 4.0 application and am defining our Javascript test configuration. I managed to get Jasmine working in VS2012 with the Chutzpah extensions, and I am able to run pure Javascript tests successfully. However, I am unable to…
VeteranCoder
  • 444
  • 1
  • 4
  • 12
4
votes
1 answer

Using Chutzpah with VS2012 to run JS tests in an HTML page

I am attempting to run existing qUnit test in Visual Studio 2012 using Chutzpah that are currently in a HTML page and I'm not able to get the VS IDE to recognize the tests. When running a straight JS test VS2012 does recognize the test, for instance…
likestoski
  • 1,901
  • 4
  • 24
  • 41
4
votes
1 answer

How can I generate a test report with Chutzpah?

I would like to generate a junit, nunit or mstest report for my QUnit javascript unit tests and because we are mainly developing in Visual Studio (c# MVC server), we currently are using Chutzpah to run the QUnit tests. Now I would like to generate a…
kajk
  • 126
  • 12
1
2
3
17 18