Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jasmine 2.0 TeamCity reporter

Had a working CI build with teamcity, requirejs, and jasmine 1.3 running phantomjs.exe and I'm trying to upgrade jasmine to version 2.0.

I got a basic html specrunner page working following this great post. (jasmine is now loaded on windows.onload, https://stackoverflow.com/a/20851265/564577)

Now I'm trying to get the teamcity-reporter working. (from the plugins page under testing framework, http://confluence.jetbrains.com/display/TW/TeamCity+Plugins#)

It has a dependency on the jasmine global and doesn't see it, even though I can console.log the jasmine.version, but really my question is does anybody have one that works, or has a good explanation on how the reporters are loaded and how they work now in jasmine 2.0?

Thanks

like image 538
William Avatar asked Feb 04 '14 19:02

William


1 Answers

After a day of poking around it was easy to write.

I'll keep the most updated script in https://github.com/WilliamDoman/Jasmine2.0TeamCityReporter

like image 194
William Avatar answered Sep 28 '22 10:09

William