In stuff.js:  function init() {     return "works"; }  (function(ParentNamespace) {     ParentNamespace.MySubNamespace = {}; })(window.MyNamespace || (window.MyNamespace = {}));   In my test JS file:  /// <reference path="../../../proj...
I have angularJs controller  angular.module('App.ctrl.guests', [])     .controller('guestsController', ['$scope', '$http', '$location', '$timeout', 'guestsService', function ($scope, $http, $loc...
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 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...
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 communications which abstracts away calls to the...
Fairly straightforward -- Can I run a single test with Chutzpah JavaScript test runner, via the command line tool, or other means?...
I am trying to test one of my Angular controllers. For a start, I want to just see, that I can call a simple function in the controller, which returns the sum of two numbers.  This is relevant part of the controller, with the simple sum function (I h...
Apologies if this is somewhat vague (and it is), but I've inherited a bit of a mess from a departed contractor, and need some pointers...  I've got (inherited) a number of JavaScript Unit tests (approx. 770+). These are being run with Chutzpa...
working ajax call code is given below  $('#callControllerBtn').click(function () {     currentlySelectedRow = grid.select();     sendProductIDToController(currentlySelectedRow); });  function sendProductIDToController(currentlySelectedRow) {...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.