Hello, In a code taken from <here> there are tests...
# pact-jvm
v
Hello, In a code taken from here there are tests:
Copy code
@ExtendWith(PactConsumerTestExt.class)
    @Pact(provider = "order_provider", consumer = "order_consumer")
    public V4Pact listOfOrdersPact(PactDslWithProvider builder) {
.... 
    @Pact(provider = "order_provider", consumer = "order_consumer")
    public V4Pact noOrdersPact(PactDslWithProvider builder) {
...

    @Test
    @PactTestFor(pactMethod = "listOfOrdersPact")
    void getListOfOrders(MockServer mockServer) throws IOException {
...
    @Test
    @PactTestFor(pactMethod = "noOrdersPact")
    void getEmptyListOfOrders(MockServer mockServer) throws IOException {
when I run any of these 2 tests I got an error:
Copy code
The following methods annotated with @Pact were not executed during the test: OrderApiClientPactTest.noOrdersPact If these are currently a work in progress, add a @Disabled annotation to the method
Commenting out
noOrdersPact
and its test fixes the issue. How to fix that?
Root cause: it’s not possible to run individual tests