【发布时间】:2014-10-01 10:13:51
【问题描述】:
如果我做项目>node node_modules\intern\bin\intern-runner config=my/config functionalSuites=mySuite 它只是挂起。如果我省略functionalSuites,它会完美运行。
【问题讨论】:
标签: intern
如果我做项目>node node_modules\intern\bin\intern-runner config=my/config functionalSuites=mySuite 它只是挂起。如果我省略functionalSuites,它会完美运行。
【问题讨论】:
标签: intern
这是由于 Intern 2.1.0 处理 functionalSuites 属性的方式存在错误。 Intern 一直认为functionalSuites 是一个数组。在命令行中仅指定 functionalSuites 的单个实例会导致 Intern 中 functionalSuites 的字符串值(而不是数组),这会破坏测试运行程序。
问题已在Intern 2.1.1 中修复。
【讨论】: