没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
笑话Cucumber 在Jest中执行小Cucumber方案 概述 jest-cucumber是在之上运行的的替代方案。 您不必为每个场景编写一个Jest测试,而无需使用describe和it块,然后在Jest测试中定义Given , When和Then步骤定义。 然后,jest-cucumber允许您将这些Jest测试链接到功能文件,并确保它们始终。 动机 Jest是出色的测试运行程序,具有强大的功能,例如并行测试执行,模拟,快照,代码覆盖率等。如果您使用的是VS Code,那么还有一个很棒的,可以让您在编写测试时获得实时反馈并轻松地分别调试失败的测试。 是一种流行的工具,用于进行 并创建业务可读的可执行规范。 该库旨在实现两全其美,甚至在同一测试运行程序中运行您的单元测试和验收测试。 入门 安装Jest Cucumber: npm install jest-cucumber --sa
资源推荐
资源详情
资源评论
收起资源包目录
jest-cucumber-master.zip (99个子文件)
jest-cucumber-master
.travis.yml 81B
images
jest-cucumber-demo.gif 5.19MB
docs
GherkinTables.md 2KB
StepDefinitionArguments.md 1KB
ReusingStepDefinitions.md 3KB
AutomaticStepBinding.md 5KB
ScenarioOutlines.md 2KB
RunningTheExamples.md 2KB
UsingDocstrings.md 1KB
AsynchronousSteps.md 2KB
AdditionalConfiguration.md 5KB
Backgrounds.md 5KB
package.json 1KB
tslint.json 274B
greenkeeper.json 140B
LICENSE 11KB
package-lock.json 239KB
src
automatic-step-binding.ts 3KB
feature-definition-creation.ts 10KB
validation
scenario-validation.ts 4KB
step-definition-validation.ts 3KB
code-generation
utils.ts 344B
step-generation.ts 4KB
generate-code-by-line-number.ts 3KB
scenario-generation.ts 2KB
tag-filtering.ts 3KB
parsed-feature-loading.ts 13KB
configuration.ts 820B
index.ts 530B
models.ts 2KB
.npmignore 45B
tsconfig.json 410B
examples
typescript
specs
features
basic-scenarios.feature 180B
language.feature 2KB
more-scenario-outlines.feature 1KB
using-dynamic-values.feature 213B
backgrounds.feature 883B
auto-binding
snack-vending-machine.feature 269B
beverage-vending-machine.feature 379B
using-docstrings.feature 723B
using-gherkin-tables.feature 597B
scenario-outlines.feature 432B
using-latest-gherkin-keywords.feature 2KB
step-definitions
backgrounds.steps.ts 2KB
using-latest-gherkin-keywords.steps.ts 3KB
using-dynamic-values.steps.ts 888B
language.steps.ts 4KB
more-scenario-outlines.steps.ts 2KB
using-gherkin-tables.steps.ts 1KB
auto-step-binding.steps.ts 1KB
basic-scenarios.steps.ts 884B
using-docstrings.steps.ts 925B
scenario-outlines.steps.ts 839B
src
calculator.ts 1KB
series-solver.ts 455B
vending-machine.ts 609B
todo-list.ts 483B
password-validator.ts 286B
arcade-machine.ts 978B
online-sales.ts 618B
bank-account.ts 214B
certificate-factory.ts 964B
ecmascript
.babelrc 206B
specs
features
basic-scenarios.feature 180B
more-scenario-outlines.feature 1KB
using-dynamic-values.feature 207B
backgrounds.feature 883B
auto-binding
snack-vending-machine.feature 269B
beverage-vending-machine.feature 379B
using-docstrings.feature 723B
using-gherkin-tables.feature 597B
scenario-outlines.feature 431B
using-latest-gherkin-keywords.feature 2KB
step-definitions
using-docstrings.steps.js 865B
using-gherkin-tables.steps.js 1KB
using-latest-gherkin-keywords.steps.js 3KB
backgrounds.steps.js 2KB
using-dynamic-values.steps.js 837B
basic-scenarios.steps.js 861B
auto-step-binding.steps.js 941B
scenario-outlines.steps.js 790B
more-scenario-outlines.steps.js 2KB
package.json 620B
package-lock.json 204KB
src
online-sales.js 571B
todo-list.js 418B
series-solver.js 399B
password-validator.js 209B
rocket.js 206B
bank-account.js 207B
certificate-factory.js 956B
vending-machine.js 548B
arcade-machine.js 694B
calculator.js 806B
.gitignore 602B
README.md 4KB
stale.yml 727B
.vscode
launch.json 955B
settings.json 285B
共 99 条
- 1
资源评论
蓝色山脉
- 粉丝: 17
- 资源: 4614
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功