如何定义testacular.conf.js文件

How to define testacular.conf.js file

本文关键字:testacular conf js 文件 定义 何定义      更新时间:2023-09-26

我在定义testacular.conf.js文件时遇到了问题。我是node.js和Testacular的新手。任何建议都会有用的。现在,我已经安装了Node.js,并且还使用命令npm install -g testacular安装了Testacular。我用:testacular --version检查了版本,显示的是0.6.0。现在我的问题是:

  • 如何定义testacular配置文件?
  • 在哪里定义testacular.conf.js文件

我已经尝试过用命令testacular init来做它,但是当我选择一个框架时,它不让我下去,即使我按Enter也没有发生任何事情。

如果有人可以帮助我一些示例程序或例子,我会感谢你。我看到了一些链接,比如:

  • https://github.com/testacular/testacular/blob/master/test/client/testacular.conf.js
  • https://github.com/testacular/testacular

也显示错误,如LogInfo not definedjasmin not defined

你能给我举个例子吗?

我也在努力解决这个问题。下面的链接(和提到的repo)帮助正确设置它:

http://mrforbes.com/blog/2013/02/yeoman-testacular-jquery-require-backbone-sass-mocha-dust-i18n-oh-my/