In stuff.js:  function init() {     return "works"; }  (function(ParentNamespace) {     ParentNamespace.MySubNamespace = {}; })(window.MyNamespace || (window.MyNamespace = {}));   In my test JS file:  /// <reference path="../../../proj...
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 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...
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 insta...
I have a test that passes fine in the browser but is failing in Chutzpah.  Here is the portion that is failing:  var nameLowerCase = person.PersonName.toLowerCase(); var searchLowerCase= search.toLowerCase(); return (nameLowerCase.includes(searchLowe...
I have two projects under a solution, one is my main web project, say MyProject and the other serves for testing purposes, say MyProject.Tests.  Solution     MyProject     MyProject.Tests   I want to have my JavaScript headless tests running to the s...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.