In the attached solution, the tests are not discovered properly, alough they are run well from the SpecRunner
Is there a way to make chutzpah recognice those tests, list them in the test explorer and run them?
Comments: You had some issues in your chutzpah.json file. First, it was named wrong (you called it chotzpah). After renaming it I got it to work by updating its contents as follows: ``` { "TestHarnessReferenceMode": "AMD", "TestHarnessLocationMode": "SettingsFileAdjacent", "References" : [ { "Path": "lib/requirejs/require.js" }, { "Path": "common/requireJsAngular.js" } ], "Tests":[ { "Include":"*Spec.js" } ], "AMDBasePath": "js" } ``` With that done I can run this: ``` chutzpah.console.bat .\js\test\serviceSpec.js ``` And I got ``` File: C:\Users\mmanela\Desktop\ChutzpahRep233_r0\requireJsApp\js\test\serviceSpec.js 3 total, 0 failed, took 0.00 seconds Tests complete: 3 === 3 total, 0 failed, took 1.42 seconds === ```
Is there a way to make chutzpah recognice those tests, list them in the test explorer and run them?
Comments: You had some issues in your chutzpah.json file. First, it was named wrong (you called it chotzpah). After renaming it I got it to work by updating its contents as follows: ``` { "TestHarnessReferenceMode": "AMD", "TestHarnessLocationMode": "SettingsFileAdjacent", "References" : [ { "Path": "lib/requirejs/require.js" }, { "Path": "common/requireJsAngular.js" } ], "Tests":[ { "Include":"*Spec.js" } ], "AMDBasePath": "js" } ``` With that done I can run this: ``` chutzpah.console.bat .\js\test\serviceSpec.js ``` And I got ``` File: C:\Users\mmanela\Desktop\ChutzpahRep233_r0\requireJsApp\js\test\serviceSpec.js 3 total, 0 failed, took 0.00 seconds Tests complete: 3 === 3 total, 0 failed, took 1.42 seconds === ```