gpt4 book ai didi

javascript - 如何将 testacular 与 play 框架一起使用

转载 作者:数据小太阳 更新时间:2023-10-29 04:48:23 24 4
gpt4 key购买 nike

我已经下载了睾丸我的项目基于游戏框架但是不知道怎么写匹配 Play Framework 的config.js这是我知道的一些事情

framework:play

basepath:''

files:app/assets/javascripts/footageURL.js

cli-port:9000

browser:Chrome

autowatch:yes

谁能给我一些建议?

最佳答案

我自己解决了

这是我的做法

  1. 确保你有

  2. 我从 GitHub 下载源代码
    :~/Development$ git clone https://github.com/vojtajina/testacular.git

  3. 然后你会看到一本名为 testacular 的字典。
    :~/Development$ cd testacular

  4. 在编译之前,你应该下载require.js
    sudo npm -g install

  5. 之后你就可以运行源代码了
    ~/testacular$ grunt 构建

这里是 how to write test with jasmine然后将文件添加到 testacular.conf.js

关于javascript - 如何将 testacular 与 play 框架一起使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13946419/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com