【发布时间】:2017-05-26 23:08:29
【问题描述】:
即使 Karma.config.js 状态为“progress”且命令行开关为“progress”,运行以下命令也会给我来自 TeamCity 报告器的输出。我什至没有在本地或全球安装 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']
【问题讨论】:
标签: karma-runner