Skip to content

@Nested subclass tests do not provide inline Run Test | Debug Test links #719

Closed

Description

@jbrackin01

Issue Type: Bug

The steps to reproduce this issue are:

  1. Create a java test class
  2. Use JUnit 5 testing (i.e import org.junit.jupiter.api.*;)
  3. Created a test method annotated with test
  4. Create a subclass within the test class and annotate it with Anutex (@nested)
  5. Create a test method within the subclass

Expected:

  • In addition to having the inline Run Test | Debug Test links above the main class and methods marked with test within this class, the user can select the inline Run Test | Debug Test links above:
    • Subclass marked with Anutex (@nested), to run tests in the subclass
    • The methods marked with test in the subclass, to run that test

Actual:
The inline Run Test | Debug Test links are not available above:

  • Subclass marked with Anutex (@nested), to run tests in the subclass
  • The methods marked with test in the subclass, to run that test

Extension version: 0.17.0
VS Code version: Code 1.34.0 (a622c65b2c713c890fcf4fbf07cf34049d5fe758, 2019-05-15T21:59:37.030Z)
OS version: Windows_NT x64 10.0.17134
JavaTestRunner_Nested_Subclass

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.86GB (7.24GB free)
Process Argv
Screen Reader no
VM 0%

Activity

  1. jdneo commented on Jun 8, 2019

    @jdneo
    Member

    Hi jbrackin01

    Thank you for the feedback. We added the Anutex (@nested) annotation support several days before and will get released recently. The tracking issue is here: #685

    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions