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

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

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

      <tfoot id='QunjJ'></tfoot>
      1. 如何在 IntelliJ IDEA 中为 JUnit 指定应使用哪个 @Tag

        时间:2024-08-24
            <bdo id='i4jhi'></bdo><ul id='i4jhi'></ul>

                <tbody id='i4jhi'></tbody>

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

                1. <tfoot id='i4jhi'></tfoot>
                2. 本文介绍了如何在 IntelliJ IDEA 中为 JUnit 指定应使用哪个 @Tag的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  有没有办法从 IntelliJ 的 JUnit5 Runner 的构建中指定只应测试具有特定 @Tag 的测试方法(或相反,应执行除具有特定 @Tag 的测试之外的所有测试)?

                  Is there a way to specify from the build in JUnit5 Runner of IntelliJ that only test methods with specific @Tag should be tested (or the opposite, that all tests except those with a specific @Tag, should be executed)?

                  我知道如何使用 maven 来实现,但是仅使用 IntelliJ UI 是否可行?

                  I know how to do it with maven, but is it possible with just the IntelliJ UI?

                  最好的问候,迪特

                  推荐答案

                  With https://youtrack.jetbrains.com/issue/IDEA-163481 已修复,现在可以从 IJ 2018.1 开始 - 有关详细信息,请参阅 @Nicolau 的答案.

                  With https://youtrack.jetbrains.com/issue/IDEA-163481 fixed, it is now possible since IJ 2018.1 -- for details see @Nicolau 's answer.

                  这篇关于如何在 IntelliJ IDEA 中为 JUnit 指定应使用哪个 @Tag的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何在 Eclipse 中启用 TODO/FIXME/XXX 任务标签? 下一篇:&lt;c:out/&gt;未知标签

                  相关文章

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

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

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

                    1. <tfoot id='mG4LM'></tfoot>

                    2. <legend id='mG4LM'><style id='mG4LM'><dir id='mG4LM'><q id='mG4LM'></q></dir></style></legend>