grunt-storycode:故事代码的 Grunt 插件

时间:2021-07-12 06:01:18
【文件属性】:
文件名称:grunt-storycode:故事代码的 Grunt 插件
文件大小:371KB
文件格式:ZIP
更新时间:2021-07-12 06:01:18
JavaScript 咕噜声故事代码 Storycode 的 Grunt 插件(Javascript 代码的用例跟踪器) 有关 Storycode 的更多信息,请访问 入门 这个插件需要 Grunt ~0.4.5 如果您以前没有使用过 ,请务必查看指南,因为它解释了如何创建以及安装和使用 Grunt 插件。 熟悉该过程后,您可以使用以下命令安装此插件: npm install grunt-storycode --save-dev 安装插件后,可以使用以下 JavaScript 代码在 Gruntfile 中启用它: grunt . loadNpmTasks ( 'grunt-storycode' ) ; “故事代码”任务 该任务将提取所有storycode注释的注释,并生成一个 html 报告用例以及它们通过您的代码完成的方式。 概述 在项目的 Gruntfile 中,将名为storycode的部分
【文件预览】:
grunt-storycode-master
----.jshintrc(191B)
----package.json(1KB)
----Gruntfile.js(2KB)
----LICENSE-MIT(1KB)
----README.md(2KB)
----report()
--------fonts()
--------js()
--------css()
--------index.html(2KB)
--------output.json(1KB)
----npm-debug.log(15KB)
----test()
--------fixture2()
--------fixture1()
--------storycode_test.js(1KB)
--------expected()
--------fixture3()
----tasks()
--------storycode.js(2KB)

网友评论