<tfoot id='Cvesw'></tfoot>

    • <bdo id='Cvesw'></bdo><ul id='Cvesw'></ul>
    <legend id='Cvesw'><style id='Cvesw'><dir id='Cvesw'><q id='Cvesw'></q></dir></style></legend>

    <small id='Cvesw'></small><noframes id='Cvesw'>

  1. <i id='Cvesw'><tr id='Cvesw'><dt id='Cvesw'><q id='Cvesw'><span id='Cvesw'><b id='Cvesw'><form id='Cvesw'><ins id='Cvesw'></ins><ul id='Cvesw'></ul><sub id='Cvesw'></sub></form><legend id='Cvesw'></legend><bdo id='Cvesw'><pre id='Cvesw'><center id='Cvesw'></center></pre></bdo></b><th id='Cvesw'></th></span></q></dt></tr></i><div id='Cvesw'><tfoot id='Cvesw'></tfoot><dl id='Cvesw'><fieldset id='Cvesw'></fieldset></dl></div>

      如何在 Intellij 中运行单个黄瓜场景?

      How to run a single cucumber scenario in Intellij?(如何在 Intellij 中运行单个黄瓜场景?)

        <i id='N6nFR'><tr id='N6nFR'><dt id='N6nFR'><q id='N6nFR'><span id='N6nFR'><b id='N6nFR'><form id='N6nFR'><ins id='N6nFR'></ins><ul id='N6nFR'></ul><sub id='N6nFR'></sub></form><legend id='N6nFR'></legend><bdo id='N6nFR'><pre id='N6nFR'><center id='N6nFR'></center></pre></bdo></b><th id='N6nFR'></th></span></q></dt></tr></i><div id='N6nFR'><tfoot id='N6nFR'></tfoot><dl id='N6nFR'><fieldset id='N6nFR'></fieldset></dl></div>
            <tbody id='N6nFR'></tbody>
          <legend id='N6nFR'><style id='N6nFR'><dir id='N6nFR'><q id='N6nFR'></q></dir></style></legend>

            • <tfoot id='N6nFR'></tfoot>

            • <small id='N6nFR'></small><noframes id='N6nFR'>

                <bdo id='N6nFR'></bdo><ul id='N6nFR'></ul>
              • 本文介绍了如何在 Intellij 中运行单个黄瓜场景?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我有一个简单的问题 - 我想运行一个 Cucumber 场景,但我似乎找不到任何选项/配置.

                I have a simple problem - I want to run a single Cucumber scenario, but I can't seem to find any option/configuration for that.

                我有 5-6 个场景,我可以设置配置来运行所有测试,但是当我纠正一个场景时,这需要太多时间......

                I have 5-6 scenarios and I can set up configurations to run all tests, but It takes too much time, when I am correcting one scenario...

                推荐答案

                给特征文件添加任意名称,可以添加多个以空格分隔的标签.

                Tag the feature file with any name, you may add multiple tags separated with spaces.

                例如:@acceptance @regression

                现在,通过编辑配置在 VM 选项末尾添加以下选项

                Now, add below options in the end of VM otions by editing configuration

                -Dcucumber.options="--tags @acceptance"
                

                运行测试,它只会触发带有 @acceptance

                Run the test and it will only trigger the feature files tagged with @acceptance

                您可以将配置设置为接受和回归,或者在每次运行时编辑配置.

                You can either set the configuration one for acceptance and one for regression or edit the configuration everytime you run it.

                这篇关于如何在 Intellij 中运行单个黄瓜场景?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                How can I detect integer overflow on 32 bits int?(如何检测 32 位 int 上的整数溢出?)
                Local variables before return statements, does it matter?(return 语句之前的局部变量,这有关系吗?)
                How to convert Integer to int?(如何将整数转换为整数?)
                How do I create an int array with randomly shuffled numbers in a given range(如何在给定范围内创建一个随机打乱数字的 int 数组)
                Inconsistent behavior on java#39;s ==(java的行为不一致==)
                Why is Java able to store 0xff000000 as an int?(为什么 Java 能够将 0xff000000 存储为 int?)
                • <tfoot id='NRQi8'></tfoot>

                  <i id='NRQi8'><tr id='NRQi8'><dt id='NRQi8'><q id='NRQi8'><span id='NRQi8'><b id='NRQi8'><form id='NRQi8'><ins id='NRQi8'></ins><ul id='NRQi8'></ul><sub id='NRQi8'></sub></form><legend id='NRQi8'></legend><bdo id='NRQi8'><pre id='NRQi8'><center id='NRQi8'></center></pre></bdo></b><th id='NRQi8'></th></span></q></dt></tr></i><div id='NRQi8'><tfoot id='NRQi8'></tfoot><dl id='NRQi8'><fieldset id='NRQi8'></fieldset></dl></div>

                      <bdo id='NRQi8'></bdo><ul id='NRQi8'></ul>

                          <tbody id='NRQi8'></tbody>

                        1. <legend id='NRQi8'><style id='NRQi8'><dir id='NRQi8'><q id='NRQi8'></q></dir></style></legend>

                          <small id='NRQi8'></small><noframes id='NRQi8'>