卡玛经营错误的记者

时间:2017-05-26 15:00:39

标签: karma-runner

运行以下内容为我提供了TeamCity记者的输出,即使Karma.config.js指出了“进展”。并且命令行开关是' progress'。我甚至没有在本地或全球安装TeamCity报告?!有谁知道为什么会发生这种情况?

C:\Projects\Project>karma run --reporters progress
##teamcity[enteredTheMatrix]
##teamcity[testSuiteStarted nodeId='1' parentNodeId='0' name='karma.conf.js' nodeType='config' locationHint='config://C:\Projects\Project\tests\karma.conf.js']
##teamcity[testSuiteStarted nodeId='2' parentNodeId='1' name='Chrome 58.0.3029 (Windows 7 0.0.0)' nodeType='browser']
##teamcity[testCount count='2']
##teamcity[testSuiteStarted nodeId='3' parentNodeId='2' name='Simple test' nodeType='suite' locationHint='suite://Simple test']
##teamcity[testStarted nodeId='4' parentNodeId='3' name='should pass' nodeType='test' locationHint='test://Simple test.should pass']
##teamcity[testStdOut nodeId='4' out='|'/base/tests/results/unit/viewModelSpec.js|'|n']
##teamcity[testFinished nodeId='4' duration='0']
##teamcity[testSuiteStarted nodeId='5' parentNodeId='2' name='Results Page View Model' nodeType='suite' locationHint='suite://Results Page View Model']
##teamcity[testSuiteStarted nodeId='6' parentNodeId='5' name='convertDate function' nodeType='suite' locationHint='suite://Results Page View Model.convertDate function']
##teamcity[testStarted nodeId='7' parentNodeId='6' name='should return a string |'loading...|' when the date has yet to be set' nodeType='test' locationHint='test://Results Page View Model.convertDate function.should return a string |'loading\.\.\.|' when the date has yet to be set']
##teamcity[testFinished nodeId='7' duration='0']
##teamcity[testSuiteFinished nodeId='3']
##teamcity[testSuiteFinished nodeId='6']
##teamcity[testSuiteFinished nodeId='5']
##teamcity[testSuiteFinished nodeId='2']
##teamcity[testSuiteFinished nodeId='1']

1 个答案:

答案 0 :(得分:0)

我自己想出了这个谜。如果您通过Intelij \ Webstorm等生成了Karma服务器,则服务器配置了TeamCity报告器。产生自己的服务器,你得到你指定的记者。 :)