Skip to content

How to add more specs? #1

@webrails

Description

@webrails

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions