{"action":"closed","issue":{"url":"https://api.github.com/repos/mmanela/chutzpah/issues/553","repository_url":"https://api.github.com/repos/mmanela/chutzpah","labels_url":"https://api.github.com/repos/mmanela/chutzpah/issues/553/labels{/name}","comments_url":"https://api.github.com/repos/mmanela/chutzpah/issues/553/comments","events_url":"https://api.github.com/repos/mmanela/chutzpah/issues/553/events","html_url":"https://github.com/mmanela/chutzpah/issues/553","id":174405044,"number":553,"title":"TFS Build with Typescript, chutzpah.json, AMD, requirejs","user":{"login":"aaronloe","id":8919101,"avatar_url":"https://avatars.githubusercontent.com/u/8919101?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronloe","html_url":"https://github.com/aaronloe","followers_url":"https://api.github.com/users/aaronloe/followers","following_url":"https://api.github.com/users/aaronloe/following{/other_user}","gists_url":"https://api.github.com/users/aaronloe/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronloe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronloe/subscriptions","organizations_url":"https://api.github.com/users/aaronloe/orgs","repos_url":"https://api.github.com/users/aaronloe/repos","events_url":"https://api.github.com/users/aaronloe/events{/privacy}","received_events_url":"https://api.github.com/users/aaronloe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-31T23:44:56Z","updated_at":"2016-11-28T17:53:10Z","closed_at":"2016-11-28T17:53:10Z","body":"Hello,\n\nFirst off, Chutzpah is awesome. We used it in our Javascript app with TFS and everything worked wonderfully. Really impressive.\n\nUnfortunately, I haven't been able to get it to work in our new Typescript project. We have a TypeScript app that uses jspm for package management and transpiles all the TS to systemjs. For what it's worth, I originally tried to get Chutzpah to work with systemjs and combed through [this issue](https://github.com/mmanela/chutzpah/issues/534) , but couldn't get that working quite right either, so I decided to add an extra gulp task and transpile all of our TypeScript into AMD modules that requirejs can use and got Chutzpah to work great with some tweaks to the chutzpah.json file when running from Visual Studio. This is our current chutzpah.json file:\n\n```\n{\n  \"Framework\": \"jasmine\",\n  \"TestHarnessReferenceMode\": \"AMD\",\n  \"TestHarnessLocationMode\": \"SettingsFileAdjacent\",\n  \"EnableTestFileBatching\": true,\n  \"AMDBaseUrl\": \"Tests/\", \n  \"AMDAppDirectory\": \"App/\", \n  \"Compile\": {\n    \"Mode\": \"External\"\n  },\n  \"References\": [\n    {\n      \"Path\": \"tests/vendor/require.js\",\n      \"IsTestFrameworkFile\": true\n    },\n    {\n      \"Path\": \"tests/vendor/config.js\"\n    }\n  ],\n  \"Tests\": [\n    {\n      \"Path\": \"App/\",\n      \"Includes\": [ \"*.spec.ts\" ]\n    }\n  ]\n}\n```\n\nNow, I'm trying to get our gated check-in to run the Jasmine tests. I think I've poured over every blog post & thread here and haven't found a working solution. In Summary, here's what I have tried so far:\n- Copied the latest Chutzpah.vsix contents to our build controller's custom assemblies directories\n- Installed Chutzpah Nuget Package to the project\n- Added custom Pre-Build task to the project that Transpiles all of the TS into AMD javascript into the AMDBaseUrl (Tests/) directory, then copies the entire App and Tests directories to the Output Directory used by the build\n- Specified custom runSettings.xml file with: \n    TestingMode = All\n   EnabledTracing = true\n  This causes the build to at least acknowledge that the chutzpah.json file is present. But this is the only thing that gets logged to the %temp% log file:\n  Chutzpah.json file found at D:\\Builds\\9386...\\bin\\chutzpah.json given starting directory D:\\Builds\\9386...\\bin\n- I logged into the build server's source directory where it copies all of the files to before building, and manually ran chutzpah.console.exe from the packages folder with the path to the chutzpah.json file, and it's able to run the all the tests without any issues. I noticed that none of the chutzpah Nuget dlls are copied to the bin folder where TFS compiles the project into. Should they? \n\nAny help would be so greatly appreciated. Thank you!\n"}}
{"actor":{"display_login":"mmanela"}}