Skip to content

Keep showing Run Tests: Resolving launch configuration... but nothing happens when using TestNG #1294

@molly-w

Description

@molly-w
  1. Download TestNG-7.4.0.jar then add it to referenced libraries
  2. Run simple test code from TestNG docs
import org.testng.annotations.*;

public class TestNgTwoTests {

    @BeforeClass
    public void setUp() {
        // code that will be invoked when this test is instantiated
    }

    @Test(groups = { "fast" })
    public void aFastTest() {
        System.out.println("Fast test");
    }

    @Test(groups = { "slow" })
    public void aSlowTest() {
        System.out.println("Slow test");
    }
}

Clicking the triangle button to run test and notification pops up Run Tests: Resolving launch configuration... , it keeps resolving and nothing happens:
image

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