In stuff.js:  function init() {     return "works"; }  (function(ParentNamespace) {     ParentNamespace.MySubNamespace = {}; })(window.MyNamespace || (window.MyNamespace = {}));   In my test JS file:  /// <reference path="../../../proj...
I use Chutzpah to test my JavaScript test coverage. Here is an example for the coverage result when I run a single test file referenceFigureEdit.spec.js:    I would expect the coverage to be 100% but it is only 91.07%.  Clicking on the first line I c...
I am using QUnit to test my typescript code and everything is fine when I run a simple example like this: http://thomasardal.com/testing-typescript-with-typescript-using-qunit-and-chutzpah/  But my nightmare start when I try create unit tests for my...
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 that i can see the results in the vs test explorer....
I'm trying to run qunit test cases with PhantomJS. One of my tests are hanging in when phantomJS try to access the navigator.geolocation function of DOM. same test is working fine in the browser, just hangs in the console with phantomJS.   doe ph...
I have angularJs controller  angular.module('App.ctrl.guests', [])     .controller('guestsController', ['$scope', '$http', '$location', '$timeout', 'guestsService', function ($scope, $http, $loc...
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...
So I'm trying to set up Typescript and Chutzpah for testing purposes. Typescript is set up to output in this format:  define(['require', 'exports', './someModule'], function(require, exports, someModule) {     //examplecod...
I am trying to get a unit test written in Typescript using Jasmine to compile. With the following in my unit-test file, Resharper prompts me with a link to import types from jasmine.d.ts.   /// <reference path="sut.ts" /> /// <refere...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.