Hey there, im using ``` @TestTemplate @Exten...
# pact-jvm
m
Hey there, im using
Copy code
@TestTemplate  
    @ExtendWith(PactVerificationInvocationContextProvider.class)
    void pactVerificationTestTemplate(PactVerificationContext context) {
        context.verifyInteraction();
    }
to execute my provider test locally. Im using Provider Version 4.36, Junit 5. I wanted to try it out in a gitlab build, but the test wasnt executed. Is that a pipeline issue or am i missing something. +
👋 2
y
What was the difference in output between your local run and your gitlab and are you executing the same steps. Could you help by providing more details about your pipeline setup.
m
I renamed the ProviderTestClass to IT temporarily so it would get executed in the Integrationtest Job. I still have to adapt the pipeline for this. This was purely for test reasons because the pactbroker credentials are coming from gitlab and i wanted to assure that everything works fine.
671110 [INFO] Running at.X.X.X.X.MintProviderIT 1851671745 [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.634 s - in at.X.X.X.X.MintProviderIT
it doesnt execute the method
u
Your build pipeline may not be setup to run JUnit 5 tests