【问题标题】:karate-gatling: how to simulate a karate feature except those scenarios tagged with @ignorekarate-gatling:如何模拟空手道功能,除了那些用@ignore 标记的场景
【发布时间】:2020-04-14 01:56:54
【问题描述】:

我有一个功能可以定义加特林测试的工作流程。 Gatling 测试正在运行,但如何设置空手道选项以忽略标有 @ignore 的场景?

使用像-Dkarate.options="--tags ~@ignore" 这样的系统属性没有帮助:

mvn clean test-compile gatling:test -Dkarate.env=dev -Dkarate.options="--tags ~@ignore"

也许有一种方法可以在 scala 文件中为空手道功能提供类似 tags = "~@ignore" 的内容?

val workflow = scenario("workflow").exec(karateFeature("classpath:performance/workflow.feature"))

这样做的正确方法是什么?

【问题讨论】:

标签: karate


【解决方案1】:

很好的问题 - 我们意识到我们错过了这个问题。打开一个问题:https://github.com/intuit/karate/issues/968

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-04-02
    相关资源
    最近更新 更多