mercredi 10 juin 2015

Wallaby js in Visual Studio : tests in different folder

I am using a wallaby.js with jasmine for FE unit tests. I would like to separate the Tests from Productive Code in such a way, that i create two projects - A and A_Test. All productive code is in A and all test code is in A_Test.

The problem with wallaby is, that i can not make it work for such a configuration since it seems to not support the relative '../../' notation.

My example json configuration:

    {
  "files": [
    "../../A/src/*.js"  <--- This part doesn't work
  ],

  "tests": [
    "test/*Spec.js"
  ],
  "testFramework": "jasmine@2.2.1"
}

(It seems to be wallabys fault since my test in jasmine works fine with ../ paths, also a full path doesn't work)

Do you know if it is possible to support such a structure?

Thanks!

Aucun commentaire:

Enregistrer un commentaire