Skip to main content

All Questions

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
1 answer
338 views

Decouple Knockout dependencies in Jasmine unit tests

I am introducing javascript unit tests to my company's application. I've worked predominantly with AngularJS, but their framework of choice is Knockout. The code is relatively modular in design (...
cidthecoatrack's user avatar
3 votes
2 answers
607 views

Mocking an anonymous module call in Jasmine using requireJs

Current unit testing setup: Jasmine 2.1 RequireJs 2.1.15 Chutzpah 3.2.6 In our code base we have a number of modules which are loaded in through requireJs to abstract out functionality. For example ...
WestDiscGolf's user avatar
  • 4,108
3 votes
1 answer
2k views

JavaScript unit tests in a separate project when using Chutzpah testrunner and requirejs in Visual Studio

I'd like my tests to be in a separated project from the code under test as described in Jasmine in a separate test project. However, the approach with including reference paths in the test files doesn'...
Christian's user avatar
  • 7,730
5 votes
2 answers
3k views

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 ...
Neil's user avatar
  • 5,239
11 votes
3 answers
3k views

Testing javascript with Chutzpah and requirejs

I just wonder if there is a simple tutorial showing how to test javascript in visual studio with Chutzpah, require.js and jasmine. Basically, i want to run the tests without using an .html file so ...
ppoliani's user avatar
  • 4,854