【问题标题】:What is --reporter spec in mocha.opts file?mocha.opts 文件中的 --reporter 规范是什么?
【发布时间】:2018-09-25 17:56:07
【问题描述】:

我目前正在从github 学习使用mocha, chai and supertest 为环回框架实现测试用例。但我在mocha.opts 文件中无法理解这一行--reporter spec

感谢您对记者规范的指导。

【问题讨论】:

    标签: javascript node.js mocha.js loopbackjs loopback


    【解决方案1】:

    它指定用于报告的输出。

    http://ricostacruz.com/mocha/#reporters

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-10-12
      • 1970-01-01
      • 2012-08-19
      • 2014-10-03
      • 1970-01-01
      • 2013-12-31
      • 2019-11-21
      • 1970-01-01
      相关资源
      最近更新 更多