Hello David,
I tried to add more specs to the spec-runner.js file in the Array at this position:
//list of specs to run
My spec runner looks like this:
(function() {
"use strict";
var specsPath = '../../tests/js/specs/';
define([
specsPath + 'main-view-spec',
specsPath + 'binary.switch.device.view.spec'
],
function(specStub) {
return {
...
I can see in the console that the new file "binary.switch.device.view.spec" is actually loaded, but none of the tests is being executed. If I put the new spec file to the first position of the array, the contained specs are successfully executed. So how is it possible to test more than one single spec file?
Thanks Marc
Hello David,
I tried to add more specs to the spec-runner.js file in the Array at this position:
//list of specs to run
My spec runner looks like this:
(function() {
"use strict";
var specsPath = '../../tests/js/specs/';
define([
specsPath + 'main-view-spec',
specsPath + 'binary.switch.device.view.spec'
],
function(specStub) {
return {
...
I can see in the console that the new file "binary.switch.device.view.spec" is actually loaded, but none of the tests is being executed. If I put the new spec file to the first position of the array, the contained specs are successfully executed. So how is it possible to test more than one single spec file?
Thanks Marc